Question 8
Back to Exercise
What does enumerate(["a", "b"]) yield when looped over?
- A "a", "b"
- B 0, 1
- C ("a", 0), ("b", 1)
- D (0, "a"), (1, "b") Correct
Correct Answer: Option D
(index, item) pairs, starting at 0 unless start= is given.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!