📜  python 垂直打印列表项 - Python 代码示例

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

代码示例1
# To print a list of string vertically
my_list = ["A","B","C"] 
print('\n'.join(my_list))

# Result:
# A
# B
# C