Why the answer of '[] == False' is False in Python?

前端 未结 0 570
感动是毒
感动是毒 2021-01-21 10:01

I tried that

print(not []) # True

print([] == False) # False

What is the difference? Please answer it :)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题