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\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2023-12-12 17:18+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.0\n" #: ../../source/python-for-anidados.rst:9 msgid "Sentencias ``for`` anidadas" msgstr "Nested ``for`` statements" #: ../../source/python-for-anidados.rst:11 msgid "" "Una estructura de programación se dice que está anidada cuando se " "encuentra dentro de otra." msgstr "A programming structure is said to be nested when it is inside another." #: ../../source/python-for-anidados.rst:14 msgid "" "Cada nivel extra con otra instrucción ``for`` habrá que escribir el " "código con sangría, es decir, con espacios a la izquierda." msgstr "" "Each extra level with another ``for`` statement will have to be indented," " that is, with spaces to the left." #: ../../source/python-for-anidados.rst:17 msgid "" "Este es un ejemplo con la instrucción ``for`` anidada en dos niveles que " "genera una tabla de multiplicar::" msgstr "This is an example with the ``for`` statement nested in two levels " "which generates a multiplication table::" #: ../../source/python-for-anidados.rst:29 msgid "Resultado::" msgstr "Result::" #: ../../source/python-for-anidados.rst:44 msgid "" "El carácter '\\\\t' significa tabulación y sirve para separar dos números" " en 8 caracteres." msgstr "" "The character '\\\\t' means tab and is used to separate two numbers into " "8 characters." #: ../../source/python-for-anidados.rst:49 msgid "Ejercicios" msgstr "Exercises" #: ../../source/python-for-anidados.rst:51 msgid "" "Escribe un programa que pida un número y te responda si ese número es el " "resultado de multiplicar dos números en el rango del 1 al 10." msgstr "" "Write a program that asks for a number and answers if that number is the " "result of multiplying two numbers from 1 to 10." #: ../../source/python-for-anidados.rst:54 #: ../../source/python-for-anidados.rst:70 #: ../../source/python-for-anidados.rst:131 msgid "Pista::" msgstr "Clue::" #: ../../source/python-for-anidados.rst:64 msgid "" "Escribe un programa que genere un triángulo de asteriscos gracias a un " "bucle anidado. En la primera línea debe dibujar un asterisco. En la " "segunda línea debe dibujar dos asteriscos. Seguirá así hasta dibujar diez" " asteriscos en la décima línea" msgstr "" "Write a program that generates a triangle of asterisks thanks to a nested" " loop. On the first line you need to draw an asterisk. On the second line" " you need to draw two asterisks. It will continue like this until ten " "asterisks are drawn on the tenth line" #: ../../source/python-for-anidados.rst:77 #: ../../source/python-for-anidados.rst:108 #: ../../source/python-for-anidados.rst:142 #: ../../source/python-for-anidados.rst:160 msgid "Salida::" msgstr "Exit::" #: ../../source/python-for-anidados.rst:91 msgid "" "Modifica el programa anterior para que imprima un triángulo de números " "como se muestra a continuación::" msgstr "" "Modify the above program so that it prints a triangle of numbers as shown" " below:" #: ../../source/python-for-anidados.rst:105 msgid "" "Dibuja un triángulo invertido que comience con 10 asteriscos y termine " "con un solo asterisco." msgstr "" "Draw an inverted triangle starting with 10 asterisks and ending with a " "single asterisk." #: ../../source/python-for-anidados.rst:122 msgid "" "Escribe un programa que dibuje un ajedrez de asteriscos con un bucle " "anidado que imprima un asterisco cuando la suma de las dos coordenadas " "sea divisible por 2. En caso contrario debe imprimir un espacio." msgstr "" "Write a program that draws an asterisk chess with a nested loop that " "prints an asterisk when the sum of the two coordinates is divisible by 2." " Otherwise it prints a space." #: ../../source/python-for-anidados.rst:126 msgid "El tamaño de la cuadrícula será de 10 filas por 10 columnas." msgstr "" #: ../../source/python-for-anidados.rst:128 msgid "" "Recuerda que al final de cada línea se debe imprimir una nueva línea con " "la instrucción ``print()``." msgstr "" "Remember that at the end of each line a new line must be printed with the" " ``print()`` instruction." #: ../../source/python-for-anidados.rst:156 msgid "" "Modifica el programa anterior para que dibuje otro patrón de puntos. Cada" " punto aparecerá cuando la suma de sus coordenadas sea divisible por 3." msgstr "" "Modify the program above so that it draws another dot pattern. " "Each point will appear when the sum of its coordinates is divisible by 3."