python中的for循环
#for循环格式(类似Java中的foreach):for 标识符 in 列表名称 :
>>> movies =
本文来源gaodai.ma#com搞##代!^码网(["movie1","movie2","movie3"]
>>> for item in movies :
print(item)
movie1
movie2
python中的for循环
#for循环格式(类似Java中的foreach):for 标识符 in 列表名称 :
>>> movies =
["movie1","movie2","movie3"]
>>> for item in movies :
print(item)
movie1
movie2