+ 1

Anyone know the code for a calculator on python?

the title

20th Nov 2017, 5:17 AM
Zachari Venis
Zachari Venis - avatar
8 Answers
+ 1
input asking
21st Nov 2017, 11:28 AM
Zachari Venis
Zachari Venis - avatar
+ 3
Okay so you wanna evaluate expressions just ask: print(eval(input("Enter the calculation:")))
21st Nov 2017, 11:58 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
21st Nov 2017, 11:58 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
It's in the python course
21st Nov 2017, 12:28 PM
Yash✳️
Yash✳️ - avatar
+ 3
@pegasus.. I still don't know the meaning of eval and repr function.. Plz tell me
21st Nov 2017, 12:29 PM
Yash✳️
Yash✳️ - avatar
+ 2
What kind? Normal input-asking calc or GUI calc?
20th Nov 2017, 5:42 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
ok Thx
21st Nov 2017, 12:05 PM
Zachari Venis
Zachari Venis - avatar
+ 1
21st Nov 2017, 12:06 PM
Zachari Venis
Zachari Venis - avatar