Hzangyao

导航

2021年12月27日

python运算符和分支结构

摘要: 一运算符 逻辑运算符 关键字:and, or, not print(2 > 1 and 1 == 1 and True and 3 > 2) # 连接符必须都要是andprint(2 > 13 or 1 != 1 or True or 3 > 2) # 连接符必须都要是orprint(not Tru 阅读全文

posted @ 2021-12-27 16:06 Hzangyao 阅读(99) 评论(0) 推荐(0)