Skip to content · ⁨본문 바로가기⁩
English

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.
한국어

코드 블록에 이름 붙이기

  • **함수(function)**는 다시 사용할 수 있는 이름이 붙은 코드입니다.
  • def name():와 들여쓴 바디(body)로 하나 만드십시오.
  • 이름으로 함수를 '호칭(calling)'하면 해당 코드가 실행됩니다.

Handout · ⁨교재 자료⁩

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP