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-01-17 15:45+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-funciones-argumentos.rst:9 msgid "Parámetros con valores por omisión" msgstr "Parameters with default values" #: ../../source/python-funciones-argumentos.rst:10 msgid "" "Las funciones pueden tener **parámetros**, que son variables que se " "utilizan en el interior de la función. Al llamar a la función asignamos " "**argumentos** (datos) a los parámetros de la función." msgstr "" "Functions can have **parameters**, which are variables that are used " "inside the function. When calling the function we assign **arguments** " "(data) to the parameters of the function." #: ../../source/python-funciones-argumentos.rst:14 msgid "" "Los parámetros pueden tener valores por defecto y en ese caso se puede " "omitir el argumento en la llamada a la función. Estos parámetros con " "valores por omisión deben colocarse a la derecha de los demás parámetros." msgstr "" "Parameters can have default values ​​and in that case you can omit the " "argument in the function call. These parameters with default values " "​​must be placed to the right of the other parameters." #: ../../source/python-funciones-argumentos.rst:19 msgid "Ejemplo::" msgstr "Example::" #: ../../source/python-funciones-argumentos.rst:27 #: ../../source/python-funciones-argumentos.rst:53 #: ../../source/python-funciones-argumentos.rst:62 #: ../../source/python-funciones-argumentos.rst:79 #: ../../source/python-funciones-argumentos.rst:101 #: ../../source/python-funciones-argumentos.rst:121 #: ../../source/python-funciones-argumentos.rst:146 msgid "Salida::" msgstr "Exit::" #: ../../source/python-funciones-argumentos.rst:32 msgid "" "Como se puede ver, cuando llamamos a la función sin ningún argumento, se " "utiliza el valor por omisión, que en este caso es 'María'." msgstr "" "As you can see, when we call the function without any arguments, the " "default value is used, which in this case is 'Mary'." #: ../../source/python-funciones-argumentos.rst:37 msgid "Ejercicios" msgstr "Exercises" #: ../../source/python-funciones-argumentos.rst:39 msgid "" "Escribe una función que cuente los números divisibles por 'divisor' que " "haya en todos los números desde el 1 hasta el número 'tope'." msgstr "" "Write a function that counts the numbers divisible by the 'divisor' in " "all the numbers from 1 to the 'top' number." #: ../../source/python-funciones-argumentos.rst:42 #: ../../source/python-funciones-argumentos.rst:70 #: ../../source/python-funciones-argumentos.rst:88 #: ../../source/python-funciones-argumentos.rst:112 #: ../../source/python-funciones-argumentos.rst:132 msgid "Pista::" msgstr "Clue::" #: ../../source/python-funciones-argumentos.rst:59 msgid "" "Modifica la función anterior para que el último parámetro tenga un valor " "por defecto de 100." msgstr "" "Modify the above function so that the last parameter has a default value " "of 100." #: ../../source/python-funciones-argumentos.rst:68 msgid "Escribe una función que cuente las vocales de una cadena de texto." msgstr "Write a function that counts the vowels in a string of text." #: ../../source/python-funciones-argumentos.rst:85 msgid "" "Escribe una función que imprima el número más pequeño de tres números que" " le pasemos como argumentos." msgstr "" "Write a function that prints the smallest of three numbers that we pass " "to it as arguments." #: ../../source/python-funciones-argumentos.rst:108 msgid "" "Escribe una función que retorne 'True' si tres números que le pasemos " "como argumentos están ordenados de menor a mayor. En caso contrario, debe" " retornar 'False'" msgstr "" "Write a function that returns 'True' if three numbers that we pass to it " "as arguments are in order from least to greatest. Otherwise, it should " "return 'False'" #: ../../source/python-funciones-argumentos.rst:127 msgid "" "Escribe una función que imprima tres números que le pasemos como " "argumentos, después de ordenarlos. Utiliza la función del ejercicio " "anterior para saber si los números están ordenados." msgstr "" "Write a function that prints three numbers that we pass as arguments, " "after sorting them. Use the function from the previous exercise to " "find out if the numbers are sorted."