Skip to content · ⁨Bỏ qua nội dung⁩

Ask for a name · ⁨Yêu cầu nhập tên⁩

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.

Tiếng Việt

Hỏi tên

Đọc tên với input() và in "Hello, " sau đó là tên. Với đầu vào Mia, in "Hello, Mia".

input() chờ một dòng và trả lại dưới dạng văn bản. Lưu nó vào biến trước, sau đó sử dụng biến đó.

Log in or create account · ⁨Đăng nhập hoặc tạo tài khoản⁩

IGCSE, A-Level & AP