摘要:
a=111 # type() 返回数据类型 In: type(a) Out: int In: print(type(a)) Out: <class 'int'> # isinstance() 返回bool值 In: isinstance(a,int) Out: True #两者在判断有继承关系的对象 阅读全文
posted @ 2018-12-28 19:50 return归来 阅读(134) 评论(0) 推荐(0)
posted @ 2018-12-28 19:50 return归来 阅读(134) 评论(0) 推荐(0)
posted @ 2018-12-28 09:33 return归来 阅读(1719) 评论(0) 推荐(0)