EasyOutput prediction
enumerate() with a start value
What does this code print?
items = ["a", "b", "c"]
for i, v in enumerate(items, start=1):
print(i, v)← → arrow keys to navigate
Sign in to save your progress.
What does this code print?
items = ["a", "b", "c"]
for i, v in enumerate(items, start=1):
print(i, v)← → arrow keys to navigate
Sign in to save your progress.