2025年7月21日
摘要: 一、迭代器 有__iter__方法的对象,都是可迭代对象。 lis = [1,2] print(lis.__iter__) <method-wrapper '__iter__' of list object at 0x000001B3820A1A40> Python内置str、list、tuple、 阅读全文
posted @ 2025-07-21 15:45 新月绘影 阅读(9) 评论(0) 推荐(0)