print all the items from a list python in print function code example
Example: print all elements in list python
# using for loop
scores = [11, 12, 13, 14, 15, 16]
for score in scores:
print(score)
# using for loop
scores = [11, 12, 13, 14, 15, 16]
for score in scores:
print(score)