Created
June 23, 2020 20:43
-
-
Save HectorTorres/8a437480373d3c5383bc90846d311606 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nombre = input("Hola, ¿Cuál es tu nombre? ") | |
print("Mucho gusto,", nombre) | |
edad = input("Ingresa tu edad ") | |
edad = (int (edad)) | |
print("Tu edad es: ", edad, "años.") | |
num = int(input("Ingresa un número ")) | |
print("El número es: ", num,) | |
suma = int(input("¿Cuánto es 2 + 2? ")) | |
if suma == 4: | |
print ("Copia en en navegador para ver tu premio") | |
print("https://media1.tenor.com/images/05a7505c225710ad1b77bc4caf7cd0bf/tenor.gif?itemid=7549395") | |
else: | |
print("No, no, no, quizas si intentas de nuevo") | |
input("Gracias por seguir nuestros tutoriales. Presiona ENTER.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment