Lesson 4/6 · Graduation exam preparationNot startedhigh School~120 min

Mixed tasks

Tasks where loops, lists, functions and chance meet: a lottery, primes, perfect numbers, test scores and train passengers.

After this lesson you'll be able to:

  • Split a program into functions with parameters and return values
  • Use a function inside another function
  • Combine loops, lists and conditions in one program

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.