格式:
for 变量 in 序列: 执行的代码块
实例1:
fruits = ["apple", "banana", "cherry"] for fruit in fruits: print(fruit)
标签:python,cherry,fruit,循环,fruits,print From: https://www.cnblogs.com/liming19680104/p/17652693.html
格式:
for 变量 in 序列: 执行的代码块
实例1:
fruits = ["apple", "banana", "cherry"] for fruit in fruits: print(fruit)
标签:python,cherry,fruit,循环,fruits,print From: https://www.cnblogs.com/liming19680104/p/17652693.html