python3 is not None
时间:2021-09-01 17:50:51
收藏:0
阅读:4
>>> True is not None
True
>>> 1 is not None
True
>>> ‘http:ww.ww.ww‘ is not None
True
>>> [1] is not None
True
>>> [] is not None
True
>>> () is not None
True
>>> ‘‘ is not None
True
>>> {} is not None
True
>>> 0 is not None
True
>>> None is not None
False
原文:https://www.cnblogs.com/bk-xiaowei/p/15208077.html
评论(0)