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


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

Solution

expression = raw_input()
print eval(expression)



List all Python Programs