Lompat ke konten

Procedures & functions

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.

Lembar Kerja

Masuk atau buat akun

IGCSE, A-Level & AP