Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print list with newline

my_list = [1, 2, 3, 4]
print(*my_list, sep="
")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #print #list #newline
ADD COMMENT
Topic
Name
5+4 =