list=[1,2,3,4]
it = iter(list) # 创建迭代器对象
for x in it:
print (x, end=" ")
list=[1,2,3,4]
#it = iter(list) # 创建迭代器对象
for x in list:
print (x, end=" ")
添加回答
举报
0/150
提交
取消