python中对变量判断是否为None的三种方法 1) if a is None:2)if not a:3)if not (a is None): Other 2023-11-24 199 点赞 3 评论 301 浏览