📜  如何在 python 代码示例中逐行打印列表

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

代码示例1
# python, print list one item at a time

my_list = ["one", "two", "three"]

for item in my_list:
  print(item)
  
# you can use any variable pyton accepts in place of "item"