Build a simple calculator using the Python programming language.


Here's not a complex calculator, but a very simple arithmetic, how to create a calculator that has only 4 addition (+), subtraction (-), division (/), and multiplication (*) that we almost always encounter on a daily basis. We present to you.

This is a calculator that works through the terminal, not as a GUI that we encounter on a daily basis. This is designed only to describe the work inside a calculator. This way you can add more math to this calculator. It depends on your knowledge and skills.

I am using software called "Visual Studio Code" to write this program. Write your code as shown in the image below. Then save your program as Calculator.py.


Now when you open the saved program you will see as below.



Our calculator is now done. Leave your comments below. Thank you.

Comments

Popular posts from this blog