names
=
[
'微湘菜'
,
'小湘菜'
'大湘菜'
'巨湘菜'
]
iterName
iter
(names)
#iter()用于创建迭代器
for
i
in
range
(
4
):
print
next
(iterName))
#next()用于输出迭代器的下一个元素