📅  最后修改于: 2023-12-03 14:47:03.559000             🧑  作者: Mango
rekenmachine
is a simple calculator program written in Python that can perform basic arithmetic operations like addition, subtraction, multiplication, and division.
rekenmachine
requires Python 3.x to run. To install, simply download the rekenmachine.py
file from GitHub and save it to your desired directory.
After downloading the rekenmachine.py
file, you can run it in your command-line interface by navigating to the directory where the file is located and typing the following command:
python rekenmachine.py
This will launch the calculator program in your command-line interface.
rekenmachine
currently includes the following features:
10 + 5
This will output 15
.
10 - 5
This will output 5
.
10 * 5
This will output 50
.
10 / 5
This will output 2.0
.
Here's an example of how you can use rekenmachine
to perform a series of calculations:
python rekenmachine.py
> 10 + 5
15
> 20 - 10
10
> 5 * 4
20
> 10 / 2
5.0
> exit
rekenmachine
is a simple calculator program that can perform basic arithmetic operations. It's easy to use and can save time when you need to do quick calculations.