Please write a program which accepts basic mathematic expression from console and print the evaluation result.


Topic: Please write a program which accepts basic mathematic expression from console and print the evaluation result.

Solution

expression = input()
print(eval(expression))



List all Python Programs