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.0Report-Msgid-Bugs-To:EMAIL@ADDRESSPOT-" "Creation-Date:2023-07-26 11:40+0200PO-Revision-Date:YEAR-MO-DA HO:MI" "+ZONELast-Translator:FULL NAME Language-Team:LANGUAGE " "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: 2024-11-07 12:56+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-range.rst:9 msgid "La función :py:func:`range`" msgstr "The :py:func:`range` function" #: ../../source/python-for-range.rst:13 msgid "" "La función range() sirve para crear un rango de números en un bucle " "``for``. Tiene tres parámetros con valores por omisión, por lo que puede " "tener uno, dos o tres argumentos." msgstr "" "The range() function is used to create a range of numbers in a ``for`` " "loop. It has three parameters with default values, so it can have one, " "two, or three arguments." #: ../../source/python-for-range.rst:18 msgid "Con tres argumentos:" msgstr "With three arguments:" #: ../../source/python-for-range.rst:20 msgid "``start`` es el primer número entero por el que comienza el rango." msgstr "``start`` is the first integer that the range starts with." #: ../../source/python-for-range.rst:21 msgid "``stop`` es el número que finaliza el rango. Nunca se llega a ese valor." msgstr "``stop`` is the number that stops the range. It never reaches that value." #: ../../source/python-for-range.rst:22 msgid "" "``step`` es el valor que se va añadiendo a ``start`` para conseguir los " "números consecutivos." msgstr "" "``step`` is the value that is added to ``start`` to get the consecutive " "numbers." #: ../../source/python-for-range.rst:25 ../../source/python-for-range.rst:59 #: ../../source/python-for-range.rst:91 msgid "Ejemplo::" msgstr "Example::" #: ../../source/python-for-range.rst:54 msgid "Con dos argumentos:" msgstr "With two arguments:" #: ../../source/python-for-range.rst:56 msgid "Solo se utilizan los parámetros ``start`` y ``stop``." msgstr "" "only the ``start`` and ``stop`` parameters are used." #: ../../source/python-for-range.rst:57 msgid "El parámetro ``step`` se supone igual a uno." msgstr "``step`` parameter is assumed equal to one" #: ../../source/python-for-range.rst:85 msgid "Con un argumento:" msgstr "With an argument:" #: ../../source/python-for-range.rst:87 msgid "El argumento se copia en el parámetro ``stop``." msgstr "The argument is copied into the ``stop`` parameter." #: ../../source/python-for-range.rst:88 msgid "El parámetro ``start`` se supone igual a cero." msgstr "``start`` parameter is assumed to be zero." #: ../../source/python-for-range.rst:89 msgid "El parámetro ``step`` se supone igual a uno." msgstr "``step`` parameter is assumed equal to one" #: ../../source/python-for-range.rst:110 msgid "" "Como el rango comienza en el número cero, el número de elementos del " "rango será igual al número que escribimos dentro de la función rango." msgstr "" "Since the range starts at zero, the number of elements in the range is " "equal to the number we write inside the range function." #: ../../source/python-for-range.rst:116 msgid "Ejercicios" msgstr "Exercises" #: ../../source/python-for-range.rst:118 msgid "" "Escribe un programa que imprima todos los números pares entre el 2 y el " "20, ambos incluidos." msgstr "Write a program that prints all even numbers between 2 and 20, inclusive." #: ../../source/python-for-range.rst:122 msgid "" "Escribe un programa que imprima todos los números impares entre el 1 y el" " 19, ambos incluidos." msgstr "" "Write a program that prints all the odd numbers between 1 and 19, " "inclusive." #: ../../source/python-for-range.rst:126 msgid "" "Escribe un programa que imprima una cuenta atrás que comience imprimiendo" " 10 y que acabe imprimiendo 0." msgstr "" "Write a program that prints a countdown that starts by printing 10 and " "ends by printing 0." #: ../../source/python-for-range.rst:130 ../../source/python-for-range.rst:140 msgid "Escribe un programa que escriba el siguiente listado::" msgstr "Write a program that writes the following list:" #: ../../source/python-for-range.rst:150 msgid "" "Escribe un programa que sume todos los primeros 'n' números impares y " "comprueba que el resultado es igual al cuadrado de 'n'." msgstr "" "Write a program that adds up all the first 'n' odd numbers and checks " "that the result is equal to the square of 'n'." #: ../../source/python-for-range.rst:153 msgid "Pista::" msgstr "Hint::"