Python Lists

A list stores an ordered collection. Indexes start at zero. Use append to add an item, and a for loop to visit each value.

Python
scores = [82, 91, 76]
scores.append(95)
for score in scores:
    print(score)
Read the full lesson