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

Ask for a name · ⁨이름 요청하기⁩

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()는 한 줄을 기다려 문자열로 반환합니다. 먼저 변수에 저장한 후 해당 변수를 사용하십시오.

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

IGCSE, A-Level & AP