0

The range function creates a sequential list of numbers.

This is wrong. you are converting numbers generated to list

25th May 2017, 5:29 PM
Vinay Krishnappa
Vinay Krishnappa - avatar
1 Answer
+ 1
In Python 2.7, range returns a list of numbers. In Python 3, it's a generator. So, I wouldn't say that statement is wrong.
25th May 2017, 6:18 PM
Igor B
Igor B - avatar