The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Output of range function.

Output of range function.

0
Votes
1
Answer

How can I output list of elements in range(10) in python3 like the outout of the same in python2

1 Answer

365 Team
0
Votes

Hi Gilbert!
Thanks for reaching out.
You can help yourself with the list() function.
Example:

list(range(10))

Hope this helps.
Best,
Martin

Thank you Martin.

6 months

You are welcome!

6 months