在对这个问题的评论中,我看到了一个建议使用的声明
result is not None
VS
result != None
我想知道区别是什么,以及为什么可能推荐另一个?
python operators
operators ×1
python ×1