Skip to content

AntonisParaskevis/profit-calculation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

How to Use

  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