PREVIEW: We already know how to make a list and access every single item in that list using a loop.

But what if you only want to use just one item in the list? To do that you use an index.

  • Click Run and respond to the Ask prompt. Run the program again and try a different number.
  • Look at lines 19, 24, 29, and 34 in the code editor. These lines use indexes, which you will learn about today!
  • Click Submit and Next to start today's lesson!

# THIS ACTIVITY IS IN PREVIEW ONLY MODE