摘要: 【enumerat函数】 1 enumerate(iterable, start=0) 2 第一个参数为可迭代对象即可 3 第二个为元素起始位置 4 返回枚举对象enumerate object 1 a = [0,1,2] 2 print(enumerate(a, 1)) 3 # <enumerat 阅读全文
posted @ 2021-01-25 11:08 wchw 阅读(184) 评论(0) 推荐(0)