2 Comments
Oct 7Liked by Ardit Sulce

I realized that

Expand full comment

print("nivel 1: principiante lunes")

print()

num1 = int(input("ingrese el primer numero: "))

num2 = int(input("ingrese el segundo numero: "))

op = input("ingrese la operacion (+, -, *, /): ")

if op == "+":

result = num1 + num2

print(result)

elif op == "-":

result = num1 - num2

print(result)

elif op == "*":

result = num1 * num2

print(result)

elif op == "/":

result = num1 / num2

print(result)

else:

print("la operacion no es valida")

Expand full comment