此问题已在此处有答案:
Why does "a == x or y or z" always evaluate to True? How can I compare "a" to all of those?(8个回答)
2小时前关闭
我知道a == B == c意味着a b c变量是相同的。
但我怎么能这样做或像操作?
a == (b or c)
此问题已在此处有答案:
Why does "a == x or y or z" always evaluate to True? How can I compare "a" to all of those?(8个回答)
2小时前关闭
我知道a == B == c意味着a b c变量是相同的。
但我怎么能这样做或像操作?
a == (b or c)
1条答案
按热度按时间qij5mzcb1#
这是怎么回事?