
#take input from user
num1 = input("Enter first number: ")

#take second input
num2 = input("Input second number: ")

#take thr operator they want to use
op = input("Enter the operator of your choice: ")

#assign operator between inputs and get output
try:
    if op == "+":
        sum =  int(num1) + int(num2)
        print(sum)

    elif op == "-":
        difference = int(num1) - int(num2)
        print(difference)

    elif op == "x":
        product = int(num1) * int(num2)
        print(product)

    elif op =="/":
        quotient = int(num1) / int(num2)
        print(quotient)
        
except ValueError as vale:
    print("Please input appropriate values.")
    
# Add alert for wrong operator input 
for letter in op:
    if letter in ("x","/","+","-"):
        print("All Okay!")
    else:
        print("Invalid Operator.")


bd66f04ee7576a38d2d1cff476a96d478a1fd431
<mask token>

<mask token>
try:
    if op == '+':
        sum = int(num1) + int(num2)
        print(sum)
    elif op == '-':
        difference = int(num1) - int(num2)
        print(difference)
    elif op == 'x':
        product = int(num1) * int(num2)
        print(product)
    elif op == '/':
        quotient = int(num1) / int(num2)
        print(quotient)
except ValueError as vale:
    print('Please input appropriate values.')
for letter in op:
    if letter in ('x', '/', '+', '-'):
        print('All Okay!')
    else:
        print('Invalid Operator.')

num1 = input('Enter first number: ')
num2 = input('Input second number: ')
op = input('Enter the operator of your choice: ')
try:
    if op == '+':
        sum = int(num1) + int(num2)
        print(sum)
    elif op == '-':
        difference = int(num1) - int(num2)
        print(difference)
    elif op == 'x':
        product = int(num1) * int(num2)
        print(product)
    elif op == '/':
        quotient = int(num1) / int(num2)
        print(quotient)
except ValueError as vale:
    print('Please input appropriate values.')
for letter in op:
    if letter in ('x', '/', '+', '-'):
        print('All Okay!')
    else:
        print('Invalid Operator.')


#take input from user
num1 = input("Enter first number: ")

#take second input
num2 = input("Input second number: ")

#take thr operator they want to use
op = input("Enter the operator of your choice: ")

#assign operator between inputs and get output
try:
    if op == "+":
        sum =  int(num1) + int(num2)
        print(sum)

    elif op == "-":
        difference = int(num1) - int(num2)
        print(difference)

    elif op == "x":
        product = int(num1) * int(num2)
        print(product)

    elif op =="/":
        quotient = int(num1) / int(num2)
        print(quotient)
        
except ValueError as vale:
    print("Please input appropriate values.")
    
# Add alert for wrong operator input 
for letter in op:
    if letter in ("x","/","+","-"):
        print("All Okay!")
    else:
        print("Invalid Operator.")

