Lesson 2/6 · Graduation exam preparationNot startedhigh School~150 min

Lists

Lists of numbers and names: generating random values, sorting, filtering, finding the maximum and reading until an end marker.

After this lesson you'll be able to:

  • Build lists with a loop and `append`
  • Sort, reverse and filter lists
  • Read values until an end marker (`-1`)
  • Separate randomness from program logic with functions

Theory (PDF)

The theory for this lesson is being prepared.

Examples to try

Your code runs only in this browser, in an isolated environment with no access to the internet or your account.

Examples for this lesson are being prepared.