赋值运算符
'''
赋值运算符
加赋值运算符 +=
减赋值运算符 -=
乘赋值运算符 *=
幂赋值运算符 **=
除赋值运算符 /=
除赋值运算符 //=
取余赋值运算符 %=
'''
# 加赋值运算符
q = 1
q += 10 # q = q+10
print(q)
# 减赋值运算符
w = 20
w -= 10 # w = w-10
print(w)
# 乘赋值运算符
r = 30
r *= 20 # r = r*20
print(r)
# 幂赋值运算符
t = 40
t **= 4 # t = t**4 /t = 40*40*40*40
print(t)
# 除赋值运算符
u = 50
u /= 2 # u = u/2
print(u)
y = 61
y //= 2 #y = y//2
print(y)
# 取余赋值运算符
v = 71
v %= 2 # v = v%2
print(v)