from math import *

a=float(input("enter first number :")) b=input("enter operator + , - , * , / :") c=float(input("enter second number :"))

print("result is :") if b=='+': print(a+c) elif b=='-': print(a-c) elif b=='': print(ac) elif b=='/': print(a/c) else: print("fool !! wrong operator")