Skip to content · ⁨Saltar al contenido⁩

Ask for a name · ⁨Solicitar un nombre⁩

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.

Español

Solicitar un nombre

Lee un nombre con input() e imprime "Hello, " seguido del nombre. Para la entrada Mia, imprime "Hello, Mia".

input() espera una línea y la devuelve como texto. Almacénala primero en una variable y luego usa esa variable.

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP