Skip to content

Lab 09: Lists

Goal

Store multiple values and summarize them.

Practice Tasks

  • Create a small list of numbers.
  • Compute the total and average.
  • Find the largest value using a loop.
  • Explain how the code changes if the list length changes.

Check Yourself

Which parts of the program depend on individual values, and which parts depend on the whole list?