0
The simplest calculator
Write a program that can perform arithmetic operations on two real numbers and terminate at the user's request
2 Antworten
+ 1
Thx to Python's simplicity, single line code does the trick. But then remember, python cli itself acts as a simple calculator...
print(eval(input()))