W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_ref_keyword_none_2.py:
x = None if x: print("Do you think None is True") else: print("None is not True...")
x
x
=
None
if
x
:
print
(
"Do you think None is True"
)
else
:
print
(
"None is not True..."
)