Functions

Named, reusable computations with explicit inputs and return values.

Key question

How do I turn an idea into a program?

Check your understanding

Find an example, an application and a limit. Explain the concept without using its name, then compare your explanation with a primary source.

Loading your learning…

Claims to examine

  • Explicit data boundaries and tests make a small Python program easier to inspect and change.

    Editorial claim · contestedExamine the source →

Follow a learning route

Reading connections