Mega Code Archive

 
Categories / Python / Data Type
 

Bitwise or

x = 1        # 0001 x | 2        # bitwise OR: 0011 print x