+ 2

Challenge!!!!!

just make a simple calculator>

3rd Dec 2017, 3:36 PM
Ethan Medeiros
Ethan Medeiros - avatar
4 Answers
+ 3
# The simplest is here: print(eval(input())) # using .py
3rd Dec 2017, 4:33 PM
#RahulVerma
#RahulVerma - avatar
3rd Dec 2017, 3:42 PM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar
+ 1
Honestly, i'm completely new to programming and just started the python3 course, and I wanted to make a calculator. I've seen many designs with c++, but they took several lines of code. I didn't expect to be able to make one in a single line of code with python!
3rd Dec 2017, 10:24 PM
Ethan Medeiros
Ethan Medeiros - avatar