From 29b1c791f6e319cdab828cee5f491ca1c38e41d1 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Thu, 5 Dec 2024 13:38:14 -0500 Subject: Some New Configuration Tools --- .local/bin/money.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 .local/bin/money.py (limited to '.local/bin/money.py') diff --git a/.local/bin/money.py b/.local/bin/money.py deleted file mode 100755 index 4a36437..0000000 --- a/.local/bin/money.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/local/bin/python3 - -hours = int(input("Enter Hours Worked Per Week: ")) -wage = float(input("Enter Wage: ")) -tax = .13 - -checking = (hours * 4) * wage -checking -= checking * tax -savings = checking / 2 -checking -= savings - -miles = 830 -mpg = float(input("Enter Gas Milage: ")) -gasPrice = float(input("Enter Gas Price: ")) - -gas = (miles / mpg) * gasPrice - -expenses = gas + 10 - -checking -= expenses - -print(f"${checking+savings:,.2f} left over total\n${checking:,.2f} left over for checking each month\n${savings:,.2f} left over for savings each month\nCost of gas: ${gas:,.2f}") -- cgit v1.2.3