python语言支持以下类型的运算符:
算术运算符
比较(关系)运算符
赋值运算符
逻辑运算符
位运算符
成员运算符
身份运算符
运算符优先级
test.py
#!/usr/bin/python3
a=21
b=10
c=2
a+=20
c**=a
c%=a
if(a==b):
print("a等于b")
else:
print(a)
print(c)
if(c>=b):
print("c大于0")
else:
print(c)
[root@localhost pythonCode]# python3 test.py
41
2
2