Syntax error in basic calculator need help
Hello guys I'am having a syntax error on my calculator on elif line can you tell me where i am wrong. while True: print("Options") print("Enter'add' to add two numbers") print("Enter'subtract' to subtract two number") print("Enter 'multiply' to multiplty to multiplty two numbers") print("Enter 'divide' to divide two numbers") print("Enter 'quit' to end the program") user_input = input(":") if user_input =='quit': break elif user_input == 'add': num1 = float(input("Enter a number.")) num2 = float(input("Enter another number.")) result = str(num1+num2) print("The answer is"+ result) elif user_input =='subtract': num1 = float(input("Enter a number.")) num2 = float(input("Enter another number.")) result = str(num1-num2) print("The answer is + result") elif user_input =='multiply': num1 =float(input("Enter a number.")) num2 =float(input("Enter another number.")) result = str(num1 * num2) print("The answer is + result") elif user_input =='divide': num1 = float(input("Enter a number.")) num2 = float(input("Enter another number.")) result = str(num1 / num2) print("The answer is + result") else : print("Unknown input")