Converting a range object to a list results in a list containing the numbers from the range.
Solution for How to convert a range to a list in Python : You can use list() to convert a range to a list Pass in a range object into list() to convert it to a list.