+ 1
In this>>> list(range(5)) can be num(range(5))?
"list" already created by user or is self defined in python
1 Answer
+ 3
That list() is a function in python3 so you canât use num instead. See a good explanation of range function here:
https://www.pythoncentral.io/pythons-range-function-explained/