I'm very new to python and was wondering what is wrong with this code:
num1 = input("Please Eneter A Number")
num2 = input("Please Enter Another Number")
operation = input("Please Enter An Operation You Want To Do (example: +, -, *, /): ")
if operation == +:
print(num1 + num2)
if operation == -:
print(num1 - num2)
if operation == /:
print(num1 / num2)
if operation == *:
print(num1 * num2)
this is the error I get when trying to run this code:
if operation == +:
^
SyntaxError: invalid syntax
I could not find any problem of this sort on this forum. Please forgive me if this is a dumb question.