Call a function · 함수 호출
Call a function
greet is already written for you. Call it with "Mia" so the program prints "Hello, Mia".
Writing def only describes the function — nothing happens until you call it by name with brackets: greet("Mia"). The call goes at the left margin, outside the def.
함수 호출하기
greet는 이미 작성되어 있습니다. "Mia"를 전달하여 프로그램이 "Hello, Mia"를 출력하도록 하세요.
def을 작성하는 것은 함수를 설명할 뿐입니다. 괄호와 함께 이름으로 호출하기 전까지는 아무 일도 일어나지 않습니다: greet("Mia"). 호출은 def 바깥의 왼쪽 여백에 위치해야 합니다.
greet is already written for you. Call it with "Mia" so the program prints "Hello, Mia". · greet는 이미 작성되어 있습니다. "Mia"를 전달하여 프로그램이 "Hello, Mia"를 출력하도록 하세요.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.