首页 > 代码库 > 5、运算符

5、运算符

a.
i += 1

b.
if 1 == 1 or 1 > 2 and 1 == 4:
print(‘正确‘)
else:
print(‘错误‘)

c.
content = "Alex 前几天去泰国玩姑娘,一不小心染上了病,他的内心活动是,真该多来几个"

if "前几天去" in content:
print(‘包含敏感字符‘)
else:
print(content)

5、运算符