Question Detail
Question
When using the `range()` function in a Python `for` loop, what are the default `start` value and `step` (increment) value if only a single `stop` argument is provided (e.g., `range(5)`)?
Correct Answer
Option B is the correct answer.
Detailed Explanation
Page 78 of the document clarifies: "The range() function returns a sequence of numbers, starting from 0 by default, and increments by 1 (by default), and ends at a specified number."
Hint
Consider how array indices or sequences often begin in computer programming, and the most common increment needed for counting.