+ 1
List
When I use a list or something like that in my code the output is always just like the list obviously. How can I print a list without "" and []?
2 ответов
+ 1
You can also use join() method
alist = ["cat","foo","bar","spam"]
print(" ".join(alist))