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

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

English

Ask for a name

input() reads one line that the user types. Store it in a box, then use it.

When you press Run, the program waits: a highlighted box appears under the code. Type a name there and press Enter. Check answer types Sam for you.

한국어

이름 묻기

input()는 사용자가 입력한 줄을 한 줄 읽습니다. 이를 상자에 저장한 후 사용합니다.

Run을 누르면 프로그램이 대기합니다: 코드의 아래에 강조 표시된 상자가 나타납니다. 여기에 이름을 입력하고 Enter을 누르세요. Check answer가 Sam를 자동으로 입력해 줍니다.

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

IGCSE, A-Level & AP