Skip to content · ⁨コンテンツへスキップ⁩

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.

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP