What is the main purpose of the range() function in Python?
What is the output of the following code: print(list(range(1, 5)))?
Imported from external platform