Sometimes you need both the index and the value. Use enumerate(): python fruits = ["apple", "banana", "cherry"] for i, fruit in enumerate(fruits): print(f"{i}: {fruit}") Output: 0: apple 1: banana 2: cherry enumerate() returns pairs of (index, value).
You can start from a different number: python for i, fruit in enumerate(fruits, start=1): print(f"{i}: {fruit}") # 1: apple, 2: banana, ... This is cleaner than manually tracking an index variable.