# Bitwise Operator
a = ~ 12 #Compliment of 12
print(a)

 
b = 12 & 13 #and binary addition
print(b)


b = 12 | 13  # or binary addition
print(b)


# XOR
b = 12 ^ 13  # xor binary addition
print(b)

# x y c
# 0 0 0
# 0 1 1
# 1 0 1
# 1 1 0


# left shift binary num shift 0 e.g 1010.0000 101000.00 
p = 10 << 2
print(p)


# left shift binary num shift 0 e.g 1010 10.10 
p = 10 >> 2
print(p)
