14 lines
372 B
Python
14 lines
372 B
Python
numero1 = int(input("Ingrese el primer número: "))
|
|
numero2 = int(input("Ingrese el segundo número: "))
|
|
|
|
# Operaciones
|
|
suma = numero1 + numero2
|
|
resta = numero1 - numero2
|
|
multiplicacion = numero1 * numero2
|
|
division = numero1 / numero2
|
|
|
|
# Mostrar resultados
|
|
print("Suma:", suma)
|
|
print("Resta:", resta)
|
|
print("Multiplicación:", multiplicacion)
|
|
print("División:", division) |