Answers for "python how to print items in a list"

2

print all elements in list python

# using for loop
scores = [11, 12, 13, 14, 15, 16]
for score in scores:
    print(score)
Posted by: Guest on May-14-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 how to print items in a list"

Python Answers by Framework

Browse Popular Code Answers by Language