摘要: type() 检测数据类型 # list -- 列表 c = [1, 2, 3] print(type(c)) # tuple -- 元组 d = (1, 2, 3) print(type(d)) # set -- 集合 e = {10, 20, 30} print(type(e)) # dict 阅读全文
posted @ 2021-11-01 16:17 伴你如风 阅读(46) 评论(0) 推荐(0) 编辑