Passer au contenu
English

Name a block of code

  • A function is named code you can use again and again.
  • Make one with def name(): and an indented body.
  • "Calling" the function by its name runs that code.

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP