2021年2月16日
摘要: not与逻辑判断句if连用,代表not后面的表达式为False的时候,执行冒号后面的语句。比如:a = Falseif not a: (这里因为a是False,所以not a就是True) print "hello" 这里就能够输出结果hello a = None同理 原文链接:https://bl 阅读全文
posted @ 2021-02-16 22:46 swxj 阅读(4310) 评论(0) 推荐(0) 编辑