# coding:iso-8859-9 Türkçe
# 3: Python3 - Basic Operators
# Python Bitwise Operators

a=60; b=13

print ("a=60:", bin(a))
print ("b=13:", bin(b))
print ("a&b:", a&b, bin(a&b), "AND:ve")
print ("a|b:", a|b, bin(a|b), "OR:veya")
print ("a^b:", a^b, bin(a^b), "XOR:aynıysa 0")
print ("~a:", ~a, bin(~a), "-256+tamlayanı195")
print ("a<<:", 240, bin(240), "bitler sola 2")
print ("a>>:", 15, bin(15), "bitler sağa 2")
874d1a70505b8d2dbcb7c0ca2bb153427841678d
<mask token>

<mask token>
print('a=60:', bin(a))
print('b=13:', bin(b))
print('a&b:', a & b, bin(a & b), 'AND:ve')
print('a|b:', a | b, bin(a | b), 'OR:veya')
print('a^b:', a ^ b, bin(a ^ b), 'XOR:aynıysa 0')
print('~a:', ~a, bin(~a), '-256+tamlayanı195')
print('a<<:', 240, bin(240), 'bitler sola 2')
print('a>>:', 15, bin(15), 'bitler sağa 2')

a = 60
b = 13
print('a=60:', bin(a))
print('b=13:', bin(b))
print('a&b:', a & b, bin(a & b), 'AND:ve')
print('a|b:', a | b, bin(a | b), 'OR:veya')
print('a^b:', a ^ b, bin(a ^ b), 'XOR:aynıysa 0')
print('~a:', ~a, bin(~a), '-256+tamlayanı195')
print('a<<:', 240, bin(240), 'bitler sola 2')
print('a>>:', 15, bin(15), 'bitler sağa 2')

# coding:iso-8859-9 Türkçe
# 3: Python3 - Basic Operators
# Python Bitwise Operators

a=60; b=13

print ("a=60:", bin(a))
print ("b=13:", bin(b))
print ("a&b:", a&b, bin(a&b), "AND:ve")
print ("a|b:", a|b, bin(a|b), "OR:veya")
print ("a^b:", a^b, bin(a^b), "XOR:aynıysa 0")
print ("~a:", ~a, bin(~a), "-256+tamlayanı195")
print ("a<<:", 240, bin(240), "bitler sola 2")
print ("a>>:", 15, bin(15), "bitler sağa 2")