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-09-19 15:16+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-10-08 17:14+0200\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-if-and-or-not.rst:9 msgid "Operadores ``and``, ``or``, ``not``" msgstr "``and``, ``or``, ``not`` operators" #: ../../source/python-if-and-or-not.rst:10 msgid "" "Estos operadores sirven para hacer condiciones más complejas en una " "sentencia ``if``." msgstr "" "These operators are used to make more complex conditions in an ``if`` " "statement." #: ../../source/python-if-and-or-not.rst:13 msgid "" "Ejemplo para calcular si una persona puede subir a una montaña rusa. Solo" " podrá subir si su altura en centímetros es mayor o igual a 150 **y " "también** debe ser menor o igual a 200::" msgstr "" #: ../../source/python-if-and-or-not.rst:26 msgid "Ejemplo para calcular si un año es bisiesto::" msgstr "Example to calculate if a year is a leap year::" #: ../../source/python-if-and-or-not.rst:36 msgid "" "Aunque los paréntesis no son obligatorios, es recomendable usarlos para " "que se pueda entender mejor el código." msgstr "" "Although parentheses are not always mandatory, it is advisable to use " "them so that the code can be better understood." #: ../../source/python-if-and-or-not.rst:41 msgid "Ejercicios" msgstr "Exercises" #: ../../source/python-if-and-or-not.rst:43 msgid "" "Escribe un programa que pida el nombre del mes en el que estamos y " "compruebe si estamos o no en primavera." msgstr "" "Write a program that asks for the name of the month we are in and checks " "whether it is spring or not." #: ../../source/python-if-and-or-not.rst:46 msgid "" "Para simplificar diremos que abril, mayo y junio son los meses de " "primavera." msgstr "To simplify we will say that April, May and June are the spring months." #: ../../source/python-if-and-or-not.rst:49 #: ../../source/python-if-and-or-not.rst:79 #: ../../source/python-if-and-or-not.rst:92 #: ../../source/python-if-and-or-not.rst:111 msgid "Pista::" msgstr "Clue::" #: ../../source/python-if-and-or-not.rst:58 msgid "" "El siguiente programa comprueba si un número es par. Modifica el programa" " utilizando el operador ``not`` para que compruebe si el número es " "impar::" msgstr "" #: ../../source/python-if-and-or-not.rst:69 msgid "" "Escribe un programa que utilice el operador ``and`` para comprobar si un " "nombre tiene una longitud entre 4 y 6 letras." msgstr "" "Write a program that uses the ``and`` operator to check if a name is " "between 4 and 6 letters long." #: ../../source/python-if-and-or-not.rst:72 msgid "La longitud de una cadena de texto se mide con la función len()::" msgstr "The length of a text string is measured with the len() function." #: ../../source/python-if-and-or-not.rst:88 msgid "" "Escribe un programa que responda que tienes que conectar el riego por " "goteo siempre que sea de noche (no de día) y que esté el suelo seco (no " "está lloviendo)." msgstr "" "Write a program that responds that you have to turn on drip irrigation " "whenever it is nighttime (not daytime) and the soil is dry " "(it is not raining)." #: ../../source/python-if-and-or-not.rst:102 msgid "" "Prueba el programa con las cuatro combinaciones posibles en los sensores." " Solo debe funcionar cuando el sensor de lluvia valga cero y el sensor de" " día valga cero." msgstr "" "Test the program with the four possible sensor combinations. It should " "only work when the rain sensor is zero and the day sensor is zero." #: ../../source/python-if-and-or-not.rst:107 msgid "" "Escribe un programa que imprima un mensaje cuando un número sea positivo " "y no sea divisible por 3. En caso contrario no imprime ningún mensaje." msgstr "" "Write a program that prints a message when a number is positive, even, " "and not divisible by 3. Otherwise, it does not print any message."