如何在Python中达到===运算符的效果?


问题内容

如何===在Python中达到运算符的效果?

例如,我不想False == 0成为True


问题答案:

尝试variable is FalseFalse is 0返回False