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

A function is a named block

  • A function is a named block of code you can run again and again.
  • Define it once with def, then call it by name.
  • This avoids repeating yourself and keeps programs tidy.
日本語

関数は名付けられたブロックです

  • 関数は、再度実行可能な名付けられたコードブロックです。
  • defで一度定義し、名前で呼び出します。
  • これにより重複を避け、プログラムを整理できます。

Handout · ⁨プリント⁩

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

IGCSE, A-Level & AP