https://github.com/antonisparaskevis/profit-calculation
A Python script that calculates the profit or loss, given the income and the expenses.
https://github.com/antonisparaskevis/profit-calculation
python python-3 python3 script
Last synced: 7 months ago
JSON representation
A Python script that calculates the profit or loss, given the income and the expenses.
- Host: GitHub
- URL: https://github.com/antonisparaskevis/profit-calculation
- Owner: AntonisParaskevis
- License: mit
- Created: 2025-10-28T17:31:02.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-10-28T17:31:28.000Z (8 months ago)
- Last Synced: 2025-10-28T19:24:54.762Z (8 months ago)
- Topics: python, python-3, python3, script
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# profit-calculation
A Python script that calculates the profit or loss, given the income and the expenses.
# Requirements
Python 3.x
# Download
Click the Code button, then click on "Download ZIP"
OR
Click the profit_calculation.py file, then click on the Download Raw File button
# Usage
1. Enter the income. It must be either zero or a positive number, either integer or decimal. Then, press Enter.
2. Enter the expenses. It must be either zero or a positive number, either integer or decimal. Then, press Enter.
3. The profit or loss will be displayed on screen. If there is neither profit nor loss, an approppriate message will be displayed.
4. Finally, press Enter to exit the program
# License
MIT License © 2025 Antonis Paraskevis