摘要: if not的用法 if not (1 > 2): #如果()中的表达式为假 print("hahaha") #1 > 2结果是假,所以执行hahaha else: print("hihihi") 结果: hahaha Process finished with exit code 0 test 2 阅读全文
posted @ 2021-03-09 20:38 huansky 阅读(189) 评论(0) 推荐(0) 编辑