[ad_1]
do list(range(4)).
The range() function returns a generator (only produces one value at a time). You have to convert that generator to a list.
1
[ad_2]
solved How to get a list using the range function? [closed]
[ad_1]
do list(range(4)).
The range() function returns a generator (only produces one value at a time). You have to convert that generator to a list.
1
[ad_2]
solved How to get a list using the range function? [closed]