摘要: 1 python自身的威力 1.1 使用type、str、dir、其他内置函数 //type函数:返回任意对象的数据类型.比如:整型、字符串、列表、字典、元组、函数、类、模块,甚至类型对象都可以作为参数被 type 函数接受。 >>> type(123) <class 'int'> >>> type 阅读全文
posted @ 2020-06-16 21:35 wendyw 阅读(295) 评论(0) 推荐(0) 编辑