This is a bit of unfinished code to create a calculator, However it keeps on giving me a syntax error.
n1=input("Enter Number: ")
Eo=input("Enter Operator: ")
if Eo=="+" or "-" or "*" or "/":
answer= n1+str(Eo)+input("Enter 2nd number: ")
Traceback (most recent call last):
File "C:/Python27/Programming/Calculator.py", line 2, in <module>
Eo=input("Enter Operator: ")
File "<string>", line 1
+
^
SyntaxError: unexpected EOF while parsing