Bitwise
Bitwise
#Output : 0
print("a | b = ",a|b)
###Output : 14
###Complement/Not (~)
print("~a = ",~a)
###Output : -11
###XOR (^)
print("a ^ b = ",a^b)
###Output : 14
####------------------
##
###Output 2
##
##
##print("a << 2 = ",a<<2) # 10 << 2 => 1010 << 2 => 101000 => 40
###Output 40
##
##