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" #: ../../source/python-for.rst:9 msgid "Sentencia ``for``" msgstr "``for`` statement" #: ../../source/python-for.rst:11 msgid "" "La sentencia ``for`` nos permite repetir un bloque de código varias veces " "mientras que una variable va cambiando de valor." msgstr "" "The ``for`` statement allows us to repeat a block of code several times " "while a variable is changing its value." #: ../../source/python-for.rst:14 msgid "" "Este bloque de código que se repite varias veces se denomina **bucle**." msgstr "" "This block of code that is repeated several times is called a **loop**." #: ../../source/python-for.rst:16 ../../source/python-for.rst:25 msgid "Ejemplo::" msgstr "Example::" #: ../../source/python-for.rst:21 msgid "" "Este ejemplo imprimirá en pantalla todos los números desde el 1 hasta el 9 " "(el 10 no está incluido en el rango)." msgstr "" "This example will print to the screen all the numbers from 1 to 9 (10 is not" " included in the range)." #: ../../source/python-for.rst:30 msgid "" "Este ejemplo imprimirá en pantalla un saludo para todos los nombres que " "aparecen en la lista, desde 'Abel' hasta 'Elena'." msgstr "" "This example will print a greeting for all the names in the list, from " "'Abel' to 'Elena'." #: ../../source/python-for.rst:35 msgid "Ejercicios" msgstr "Exercises" #: ../../source/python-for.rst:37 msgid "Realiza un programa que imprima la tabla del 6::" msgstr "Write a program that prints the table of 6::" #: ../../source/python-for.rst:52 msgid "" "Escribe un programa que pida un número y que luego sume todos los números " "entre el 1 y el número introducido." msgstr "" "Write a program that asks for a number and then adds all the numbers between" " 1 and the entered number." #: ../../source/python-for.rst:55 ../../source/python-for.rst:78 #: ../../source/python-for.rst:109 msgid "Ejemplo 1::" msgstr "Example 1::" #: ../../source/python-for.rst:60 ../../source/python-for.rst:83 #: ../../source/python-for.rst:123 msgid "Ejemplo 2::" msgstr "Example 2::" #: ../../source/python-for.rst:66 msgid "Pista::" msgstr "Clue::" #: ../../source/python-for.rst:74 msgid "" "Escribe un programa que pida un número y que luego multiplique todos los " "números entre el 1 y el número introducido. Esta operación se llama " "factorial." msgstr "" "Write a program that asks for a number and then multiplies all the numbers " "between 1 and the entered number. This operation is called factorial." #: ../../source/python-for.rst:89 msgid "" "Escribe un programa que imprima en pantalla todas las edades desde el 10 " "hasta el 20 y, al lado, que imprima si es mayor o menor de edad::" msgstr "" "Write a program that prints on the screen all the ages from 10 to 20 and, " "next to it, that prints if it is older or younger::" #: ../../source/python-for.rst:106 msgid "" "Escribe un programa que pida un número y luego imprima si es divisible por " "algún número entre 2 y 20." msgstr "" "Write a program that asks for a number and then prints if it is divisible by" " any number between 2 and 20." #: ../../source/python-for.rst:132 msgid "" "Ten en cuenta que un número 'num' es divisible por 5 si su resto al dividir " "por 5 es igual a cero::" msgstr "" "Note that a number 'num' is divisible by 5 if its remainder when divided by " "5 equals zero::" #: ../../source/python-for.rst:139 msgid "" "Escribe un programa que imprima todos los números del 1 al 100. Los números " "divisibles por 3 deben sustituirse por la palabra 'choco'. Los números " "divisibles por 5 deben sustituirse por la palabra 'late'. Los números " "divisibles por 3 y por 5 deben sustituirse por la palabra 'chocolate'::" msgstr "" "Write a program that prints all the numbers from 1 to 100. Numbers divisible" " by 3 must be replaced by the word 'choco'. Numbers divisible by 5 must be " "replaced by the word 'late'. Numbers divisible by 3 and 5 must be replaced " "by the word 'chocolate'::" #: ../../source/python-for.rst:165 msgid "" "Ten en cuenta que un número 'num' es divisible por 3 si su resto al dividir " "por 3 es igual a cero::" msgstr "" "Note that a number 'num' is divisible by 3 if its remainder when divided by " "3 equals zero::"