逻辑值也就是布尔值,不是false就是true
a=1 b=2 c=3 d=1 if a*b>c or b+c>d and d: print('ok') else: print("no")
#or是只要满足一个就好,而and是都要满足 。如果d=0那么输出的是no,如果d=1输出的是ok