python学习项目

python中用if判断一个对象是不是none

2018-01-21  本文已影响1人  LovingStranger

判断方法:if a is none:pass
else:pass

上一篇 下一篇

猜你喜欢

热点阅读