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)

posted @ 2017-05-05 20:11  Deasion  阅读(128)  评论(0编辑  收藏  举报