for i in (1,2,3,4):
print(i)
for i in [1,2,3,4]:
print(i)
for i in {"name":"haha","age":12}:
print(i)
for i in range(5):
print(i)
![](https://img.haomeiwen.com/i10258098/42d6010ab49134ac.png)
for i in (1,2,3,4):
print(i)
for i in [1,2,3,4]:
print(i)
for i in {"name":"haha","age":12}:
print(i)
for i in range(5):
print(i)
本文标题:Python程序控制语句: FOR
本文链接:https://www.haomeiwen.com/subject/iquczctx.html
网友评论