📜  python for 循环计数器 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:02.151000             🧑  作者: Mango

代码示例4
array = ["Var1","Var2","Var3"]
for i in range(len(array)):
  print(array[i])
  
#Output#
#Var1
#Var2
#Var3