Answers for "print values of list in python new line"

8

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 each element of list in new line python

mylist = ['10', '12', '14']
for elem in mylist:
        print elem
Posted by: Guest on September-21-2020

Code answers related to "print values of list in python new line"

Python Answers by Framework

Browse Popular Code Answers by Language