I am trying to make a simple calculator but i get an error after the input. Please help
I am trying to make a simple calculator but i get an error after the input. Please help!!! this is the code: while True: print("Options:") print("Type Add to add values") print("Type Subtract to subtract values") print("Type Multiply to multiply values") print("Type Divide to dividde values") print("Type Quit to exit the calculator") print("Choose") user_input = "Quit" user_input1 = "Add" user_input2 = "Subtract" user_input3 = "Multiply" user_input4 = "Divide" if user_input == "Quit": break elif user_input1 == "Add": num1 = float(input("Enter a value")) num2 = float(input("Enter second value")) result = str(num1 + num2) print ("The answer is " + result) elif user_input2 == "Subtract": num1 = float(input("Enter a value")) num2 = float(input("Enter second value")) result = str(num1 + num2) print ("The answer is " + result) elif user_input3 == "Multiply": num1 = float(input("Enter a value")) num2 = float(input("Enter a ssecond value")) result = str(num1 + num2) print("The answer is " + result) elif user_input4 == "Divide": num1 = float(input("Enter a value")) num2 = float(input("Enter another value")) result = str(num1 + num2) print("The answer is " + result)