📌  相关文章
📜  如何在python代码示例中打印不带括号的列表

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

代码示例4
names = ["jeff", "Mike", "Mario"]

#if you want to print in seperate lines
for x in range(len(names)):
    print(names[x])
 
#If you want to print in same line
for x in range(len(names)):
    print(names[x], end=" ")