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-07-26 11:40+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-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 para 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 sumando 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:41 #: ../../source/python-for-range.rst:55 msgid "Ejemplo::" msgstr "Example::" #: ../../source/python-for-range.rst:36 msgid "Con dos argumentos:" msgstr "With two arguments:" #: ../../source/python-for-range.rst:38 msgid "" "solo se utilizan los parámetros ``start`` y ``stop``. ``step`` se supone " "igual a uno." msgstr "" "only the ``start`` and ``stop`` parameters are used. ``step`` is assumed to " "be equal to one." #: ../../source/python-for-range.rst:49 msgid "Con un argumento:" msgstr "With an argument:" #: ../../source/python-for-range.rst:51 msgid "El argumento se copia en el parámetro ``stop``." msgstr "The argument is copied into the ``stop`` parameter." #: ../../source/python-for-range.rst:52 msgid "``start`` se supone igual a cero." msgstr "``start`` is assumed to be zero." #: ../../source/python-for-range.rst:53 msgid "``step`` se supone igual a uno" msgstr "``step`` is assumed equal to one" #: ../../source/python-for-range.rst:63 msgid "" "Como el rango comienza por cero, el número de elementos del rango es 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:68 msgid "Ejercicios" msgstr "Exercises" #: ../../source/python-for-range.rst:70 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:74 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:78 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:82 ../../source/python-for-range.rst:92 msgid "Escribe un programa que escriba el siguiente listado::" msgstr "Write a program that writes the following list:"