items=['baseball','basketball','football'] for index, item in enumerate(items): print(index, item)
colors = ["red", "green", "blue", "purple"] for i in range(len(colors)): print(colors[i])
# Create the list my_list = [1, 2, 3] # Python automatically creates an index for you and increments it for you for index in range(len(my_list)): print(my_list[index])