Skip to content · ⁨Pular para o conteúdo⁩

Ask for a name · ⁨Perguntar um nome⁩

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.

Português

Pedir um nome

Leia um nome com input() e imprima "Hello, " seguido pelo nome. Para a entrada Mia, imprima "Hello, Mia".

input() espera uma linha e devolve como texto. Armazene em uma variável primeiro, depois use essa variável.

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP