Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

bitwise operators python

OPERATOR DESCRIPTION	      SYNTAX
&	     Bitwise AND          x & y
|	     Bitwise OR           x | y
~	     Bitwise NOT	      ~x
^	     Bitwise XOR	      x ^ y
>>		 Bitwise right shift  x>>
<<		 Bitwise left shift	  x<<
Source by wiki.python.org #
 
PREVIOUS NEXT
Tagged: #bitwise #operators #python
ADD COMMENT
Topic
Name
3+4 =