Answers for "python how to print a list in multiple line"

5

python print list with newline

my_list = [1, 2, 3, 4]
print(*my_list, sep="n")
Posted by: Guest on August-01-2020
0

print all objects in list python

for p in myList: 
  print p
Posted by: Guest on February-15-2020

Code answers related to "python how to print a list in multiple line"

Python Answers by Framework

Browse Popular Code Answers by Language