摘要: 判断是否可迭代 In [4]: from collections import Iterable In [6]: isinstance(123,Iterable) Out[6]: False In [11]: isinstance((123),Iterable) Out[11]: False In 阅读全文
posted @ 2019-09-06 21:26 才华配得上梦想 阅读(145) 评论(0) 推荐(0) 编辑