This community-built FAQ covers the “Range I” exercise from the lesson “Creating and Modifying a List in Python”.
Paths and Courses
This exercise can be found in the following Codecademy content:
FAQs on the exercise Range I
- In this exercise, the
range()
function is given a number and returns a list starting at 0 and including up to the number before the one provided. What are the valid numbers that can be passed torange()
? - Does range() return a list or a range object?
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
Need broader help or resources? Head here.
Looking for motivation to keep learning? Join our wider discussions.
Learn more about how to use this guide.
Found a bug? Report it!
Have a question about your account or billing? Reach out to our customer support team!
None of the above? Find out where to ask other questions here!