Answers for "python printing elements of a list"

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 "python printing elements of a list"

Python Answers by Framework

Browse Popular Code Answers by Language