You are provided with a mathematical expression, your job is to solve this expression.
Input :
First Input : String
Output : Result
Sample Testcases :
I/P 1:
(4+3)*(12/6)+100
O/P 1:
114
Solution :
exp=str(input())
res=int(eval(exp))
print(res)
You are provided with a mathematical expression, your job is to solve this expression.
Input :
First Input : String
Output : Result
Sample Testcases :
I/P 1:
(4+3)*(12/6)+100
O/P 1:
114
Solution :
exp=str(input())
res=int(eval(exp))
print(res)
Learn | Code | Achieve