+ 1
Anyone know the code for a calculator on python?
the title
8 Answers
+ 1
input asking
+ 3
Okay so you wanna evaluate expressions just ask:
print(eval(input("Enter the calculation:")))
+ 3
It's in the python course
+ 3
@pegasus..
I still don't know the meaning of eval and repr function.. Plz tell me
+ 2
What kind? Normal input-asking calc or GUI calc?
+ 1
ok Thx
+ 1
☺