if not 就是一个判断语句,not 表示非,写成这个样子可能就理解了:. if not cond: do_something(). 意思就是如果cond 为“假值” (False,None,"" ...
確定! 回上一頁