#!/usr/bin/env python3
# -*- encoding；utf-8 -*-
'''
python 运算符

'''

a = 10
b = 20
print ( a + b )
print ( a - b )
print ( a * b )
print ( a / b )
print ( a % b )
print ( 2 ** 3 )
print ( 4 // 3 )



print ( '\n============================================\n' )

x = 2
y = 3

print( x & y )
print( x | y )
print( x ^ y )
print( ~x )
print( x << y )
print( x >> y )


print ( '\n============================================\n' )


print( x and y )

x= -1
print( x or y )

