0

How to make a calculator

1st Nov 2019, 2:31 PM
Ina Sampat
Ina Sampat - avatar
5 Respostas
+ 5
Ina Sampat You need to edit your original question above, and add 'Python' in the Relevant Tags section. Basically calculator code involves input/output, such as read two numbers and an operator, you check which operator is given, then calculate according to the given operator and display the result. There's a chapter covering input/output in the Python course, I suggest you to keep on with the course, you'll get to it pretty soon. Alternatively, you can search the Code Playground for examples, surely others had done that, and you can learn by reading their codes.
1st Nov 2019, 2:59 PM
Ipang
+ 11
Go through the Calculator Lesson from Sololearn Python Course : https://www.sololearn.com/learn/Python/2436/?ref=app
1st Nov 2019, 2:59 PM
Nova
Nova - avatar
+ 4
Please specify which language in Relevant Tags section for context clarity 👍
1st Nov 2019, 2:44 PM
Ipang
1st Nov 2019, 2:52 PM
Ina Sampat
Ina Sampat - avatar
0
Do you wanna make your own or copy what's already made?
1st Nov 2019, 3:36 PM
Inkosi
Inkosi - avatar