msgid "" msgstr "" "Project-Id-Version:Tecno Recursos 2023Report-Msgid-Bugs-To:POT-Creation-Date:2023-07-20 19:13+0200PO-Revision-Date:YEAR-MO-DA HO:MI+ZONELast-Translator:FULL NAME Language:enLanguage-Team:en Plural-Forms:nplurals=2; plural=(n != 1)MIME-Version:1.0Content-Type:text/plain; charset=utf-8Content-Transfer-Encoding:8bitGenerated-By:Babel 2.9.0" "Report-Msgid-Bugs-To:EMAIL@ADDRESS" "POT-Creation-Date:2023-09-19 15:16+0200" "PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE" "Last-Translator:FULL NAME " "Language-Team:LANGUAGE " "MIME-Version:1.0" "Content-Type:text/plain; charset=utf-8" "Content-Transfer-Encoding:8bit" "Generated-By:Babel 2.9.0" #: ../../source/python-input.rst:9 msgid "La función :py:func:`input`" msgstr "The :py:func:`input` function" #: ../../source/python-input.rst:13 msgid "" "La función `input(prompt) " "`__ imprime en " "pantalla el mensaje 'prompt' y devuelve una línea de texto escrita por el " "usuario con el teclado." msgstr "" "The function `input(prompt) " "`__ prints the " "message 'prompt' to the screen and returns a line of text typed by the user " "with the keyboard." #: ../../source/python-input.rst:18 msgid "" "Esta función se puede utilizar para detener la marcha del programa hasta que" " se pulse la tecla 'Enter' o la tecla 'Return'." msgstr "" "This function can be used to stop the program from running until the 'Enter'" " key or the 'Return' key is pressed." #: ../../source/python-input.rst:21 msgid "Ejemplos::" msgstr "Examples::" #: ../../source/python-input.rst:38 msgid "" "Observa cómo el número introducido es una cadena de texto, por lo que no " "podemos realizar cálculos con él. Para convertir el texto en un número hay " "que utilizar alguna de las siguientes funciones:" msgstr "" "Notice how the number entered is a text string, so we cannot perform " "calculations with it. To convert the text into a number you must use one of " "the following functions:" #: ../../source/python-input.rst:43 msgid "" "``int('')`` convierte una cadena de texto en un número entero (sin " "decimales)" msgstr "``int('')`` converts a text string to an integer (no decimals)" #: ../../source/python-input.rst:46 msgid "" "``float('')`` convierte una cadena de texto en un número en coma flotante." msgstr "``float('')`` converts a text string to a floating point number." #: ../../source/python-input.rst:50 msgid "Ejercicios" msgstr "Exercises" #: ../../source/python-input.rst:52 msgid "" "Escribe un programa que pida dos números por pantalla y luego imprima la " "suma de los dos." msgstr "" "Write a program that asks for two numbers on the screen and then prints the " "sum of the two." #: ../../source/python-input.rst:55 msgid "" "Escribe un programa que pida tu nombre por pantalla y luego imprima un " "saludo personalizado con tu nombre." msgstr "" "Write a program that prompts for your name on the screen and then prints a " "personalized greeting with your name." #: ../../source/python-input.rst:58 msgid "" "Escribe un programa que pida dos números por pantalla y luego imprima el " "Máximo Común Divisor de los dos números." msgstr "" "Write a program that prompts for two numbers on the screen and then prints " "the Greatest Common Divisor of the two numbers." #: ../../source/python-input.rst:61 ../../source/python-input.rst:72 msgid "Pista::" msgstr "Clue::" #: ../../source/python-input.rst:69 msgid "" "Escribe un programa que pida dos números por pantalla y luego imprima el " "Mínimo Común Múltiplo de los dos números." msgstr "" "Write a program that prompts for two numbers on the screen and then prints " "the Least Common Multiple of the two numbers."