This file contains hidden or 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
# Constantes | |
import time | |
# Entradas | |
xd = int(input("Inserta tu número: ")) | |
# Procesamiento | |
for i in range(2, 11, 2): |
This file contains hidden or 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
# Constantes | |
import time | |
# Entradas | |
xd = int(input("Inserte el número que quiere para ver su tabla de múltiplicar: ")) | |
# Procesamiento | |
for i in range(11): | |
# Salidas |
This file contains hidden or 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
#Constantes | |
import time | |
# Entradas | |
while True: | |
n1 = int(input("Coloqué el primer ángulo de su Triangulo: ")) | |
n2 = int(input("Coloqué el segundo ángulo de su Triangulo: ")) | |
# Procesamiento |
This file contains hidden or 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
# Entrada | |
n1 = float(input("Ponga cateto adj del triangulo: ")) | |
n2 = float(input("Ponga cateto opuesto del triangulo: ")) | |
# Procesamiento | |
resultado = (n1**2) + (n2**2) | |
xd = resultado ** (1/2) |
This file contains hidden or 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
import time | |
print("Bienvenido al primer juego de Diego Torres") | |
time.sleep(3) | |
# Entrada | |
personaje = input("Escoge tu personaje: Sans/Frisk/Kris: ") |
NewerOlder