Python quiz · 32 questions

Enumerate

Read the code

What does this print?


for i, ch in enumerate("ab"):
    print(i, ch)
  • 1–3 answer
  • ← previous
Question 4 of 329%