Source Code:
(back to article)
start = 5 end = 10 my_list = list(range(start, end)) print(my_list) # Output: [5, 6, 7, 8, 9]
Result:
Report an issue