Answers for "print every element in a list 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 "print every element in a list python"

Python Answers by Framework

Browse Popular Code Answers by Language