hard +35 pts

Inclusive numeric range vector

Return [start, start+step, ...] through end inclusive.

Implement `make_range(start: int, end: int, step: int = 1) -> list[int]`. Constraints: Pure Python lists only (no numpy import required in browser).

Constraints

Pure Python lists only (no numpy import required in browser).

Example

>>> make_range(...)
# see tests
35 points ~30 min

Recent Submissions

No submissions yet — hit Run Tests to try!

Hints

Think element-wise across aligned indices.
Handle empty inputs before loops.
Python 3
All tests passed!
Test Results
Press Ctrl+Enter or click Run Tests to execute your code.