Hey i need help with this python code. Im trying to make a simple caluculater but python keeps giving me sintax errors.
the error is file "<pyshell#0>", line 2 while true: ^ my code is : while true: print(“Options:”) print(“Enter ‘add’ to add two numbers together”) print(“Enter ‘substract’ to substract from a number”) print(“Enter ‘multiply’ to multiply a number”) print(“Enter ‘divide’ to divide a number”) print(“Enter ‘quit’ to quit the program”) 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 == “substract”: 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 numb