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