有两个条件,当这两个条件均为假时,发生某些事:
if not 条件A and not 条件B: print("hahaha")
if 条件A or 条件B: pass else: print("haha")