📜  python代码示例中的打印列表

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

代码示例6
# list having all elements are strings
strings = ['string1', 'string2', 'string3', 'string4']
for string in strings:
    print(string)