Echo a number · Repetir un número
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Esta página necesita un navegador reciente (con soporte para SharedArrayBuffer). Por favor, actualiza Chrome, Edge, Firefox o Safari a la última versión.
This one builds on a lesson you haven't finished yet. Do that lesson first: · Este ejercicio se basa en una lección que no has terminado. Haz esa lección primero:
Python Basics · Introducción a Python · Getting input · Obtener entrada →
English
Echo a number
Read a line with input() and print the same thing back.
When you press Run, type a number in the highlighted box and press Enter. Check answer types 42 for you.
Español
Repetir un número
Leer una línea con input() e imprimir lo mismo de vuelta.
Al pulsar Run (Ejecutar), escribe un número en el cuadro destacado y pulsa Enter. Check answer (Comprobar respuesta) introduce 42 por ti.
Read a line with input() and print it back. For 42, show 42. · Leer una línea con input() e imprimirla de vuelta. Para 42, mostrar 42.
Click Run to see the output here. · Haz clic en Ejecutar para ver la salida aquí.