How easily create list of arguments from 0 to n in Python ?

Question

How easily create list of arguments from 0 to n in Python ?

Re: How easily create list of arguments from 0 to n in Python ?

you do need to iterate over a sequence of numbers use range function.
>> range(3)
[0, 1, 2, 3]