W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_oper_logical_3.py:
x = 5 print(not(x > 3 and x < 10)) # returns False because not is used to reverse the result
x
x
=
5
print
(
not
(
x
>
3
and
x
<
10
))
# returns False because not is used to reverse the result