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