我严重睡眠不足,我需要帮助来重写这个小的 Python 逻辑
for _ in range(100):
if a:
continue
elif b:
continue
elif c and d:
continue
else:
e()
我想要类似的东西
if (some_exprt of a,b,c,d):
e()
我得到的是:
if not a and not b and (not c or not d):
e()
但我真的不知道这是否正确,对吗?