x = 1 # 0001 print x << 2 # Shift left 2 bits: 0100 print x | 2 # bitwise OR: 0011 print x & 1 # bitwise AND: 0001