Last answered:

23 Mar 2020

Posted on:

23 Mar 2020

0

Output of range function.

How can I output list of elements in range(10) in python3 like the outout of the same in python2
1 answers ( 0 marked as helpful)
Instructor
Posted on:

23 Mar 2020

0
Hi Gilbert! Thanks for reaching out. You can help yourself with the list() function. Example:
list(range(10))
Hope this helps.
Best,
Martin

Submit an answer