print list number python code example
Example 1: how to make a python list
listName = [1,2,3,4]
Example 2: print all elements in list python
# using for loop
scores = [11, 12, 13, 14, 15, 16]
for score in scores:
print(score)
listName = [1,2,3,4]
# using for loop
scores = [11, 12, 13, 14, 15, 16]
for score in scores:
print(score)