Ask for a name · 이름 요청하기
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · 이 페이지는 최신 브라우저(SharedArrayBuffer 지원)가 필요합니다. Chrome, Edge, Firefox 또는 Safari를 최신 버전으로 업데이트해 주세요.
This one builds on a lesson you haven't finished yet. Do that lesson first: · 이 과제는 아직 완료하지 않은 수업에 기반합니다. 먼저 해당 수업을 완료하세요:
Python Basics · Getting input · 입력 받기 →
English
Ask for a name
Read a name with input() and print "Hello, " then the name. For the input Mia, print "Hello, Mia".
input() waits for one line and hands it back as text. Store it in a variable first, then use that variable.
한국어
이름 묻기
input()를 사용하여 이름을 입력받고 "Hello, " 다음에 이름을 출력합니다. 입력값 Mia에 대해 "Hello, Mia"를 출력합니다.
input()는 한 줄을 기다려 문자열로 반환합니다. 먼저 변수에 저장한 후 해당 변수를 사용하십시오.
Read a name with input() and print "Hello, " then the name. For the input Mia, print "Hello, Mia". · input()를 사용하여 이름을 입력받고 "Hello, " 다음에 이름을 출력합니다. 입력값 Mia에 대해 "Hello, Mia"를 출력합니다.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.