【5.3】判断是否为Nonetype
报错:
print type(a)
None <type 'NoneType'>
python 如何判断 是nonetype
if a is None:
print "dddddddddddd"
这里是一个广告位,,感兴趣的都可以发邮件聊聊:tiehan@sina.cn
个人公众号,比较懒,很少更新,可以在上面提问题,如果回复不及时,可发邮件给我: tiehan@sina.cn

报错:
print type(a)
None <type 'NoneType'>
python 如何判断 是nonetype
if a is None:
print "dddddddddddd"