【发布时间】:2020-06-21 02:49:11
【问题描述】:
我被 True/False 和 x 和 not x 困住了,
对于x = 0,其中x 是int,在Python 中。
为什么if not x 允许执行以下语句,为什么不允许if x?
请解释一下。
【问题讨论】:
-
... of the following statement...我们似乎缺少您想要的代码。您可以使用edit按钮添加它。
标签: python integer boolean-operations