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

📅  最后修改于: 2022-03-11 14:45:05.394000             🧑  作者: 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=" ")