首页 > 技术文章 > 在python 中is和= = 的区别

xiexiaoxiao 2017-06-27 17:38 原文

None,  False, 空字符串"", 0, 空列表[], 空字典{}, 空元组()都相当于False

 

推荐阅读