Answers for "How do you print a list in Python?"

1

how to print from a python list

list = ['a', 'b']
print(list[0])
#that will print 'a'
#print(list[1]) will print 'b'
Posted by: Guest on July-22-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 "How do you print a list in Python?"

Python Answers by Framework

Browse Popular Code Answers by Language