# -*- coding：utf-8 -*-#

# --------------------------------------------------------------
# NAME:          02
# Description:   运算符使用
# Author:        xuezy
# Date:          2020/6/18 18:39
# --------------------------------------------------------------

a = 5
b = 10
c = 3
d = 4
e = 5
# 15
a += b
# 12
a -= c
# 48
a *= d
# 9.6
a /= e
print('a=', a)

# True
flag1 = 3 > 2
# False
flag2 = 2 < 1
# False
flag3 = flag1 and flag2
# True
flag4 = flag1 or flag2
# False
flag5 = not flag1

print('flag1=', flag1)
print('flag2=', flag2)
print('flag3=', flag3)
print('flag4=', flag4)
print('flag5=', flag5)




