본문 바로가기

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.

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP