摘要: >>> a = iter('abcd') >>> next(a) 'a' >>> next(a) 'b' >>> next(a) 'c' >>> next(a) 'd' >>> next(a) Traceback (most recent call last): File "<pyshell#18>", line 1, in <module> next(a) Sto 阅读全文
posted @ 2020-01-13 16:54 qiynet 阅读(1761) 评论(0) 推荐(0)
跳至侧栏