标签:python
1.算数运算符
例子:
a=30
b=40
c=a+b
print(c)
2.关系运算符
print(a==b)
3.赋值运算符
b+=a
print(b
4.逻辑运算符
c=50
print(a>b or b<c)
print not(a>b and b<c)
python运算符
原文地址:http://huangzp.blog.51cto.com/12434999/1974451