Skip to content

Commit 3fd1cdc

Browse files
authored
Create README.md
1 parent 8fffaac commit 3fd1cdc

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

Budget App/README.md

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# :snake: Scientific Computing with Python - FreeCodeCamp
2+
3+
## About the Projects
4+
5+
This repository contains all my solutions to the Scientific Computing with Python course from FreeCodeCamp. All were made using only Python
6+
7+
## Project list:
8+
9+
- Arithmetic Formatter
10+
- Time Calculator
11+
- Budget App
12+
- Polygon Area Calculator
13+
- Probability Calculator
14+
15+
## Budget App
16+
17+
This project consisted in creating a class called Budget. It should be able to instantiate objects based on different budget categories like food, clothing, and entertainment. When objects are created, they are passed in the name of the category. The class should have an instance variable called ledger that is a list. The class should also contain differents methods that will alter the budget.
18+
19+
When the object is printed gives the following output:
20+
21+
```
22+
*************Food*************
23+
initial deposit 1000.00
24+
groceries -10.15
25+
restaurant and more foo -15.89
26+
Transfer to Clothing -50.00
27+
Total: 923.96
28+
```
29+
30+
There is also a function called "create_spend_chart" that creates a chart showing spending from a list of categories that receives as parameters. Here is an example of the output:
31+
32+
```
33+
Percentage spent by category
34+
100|
35+
90|
36+
80|
37+
70|
38+
60| o
39+
50| o
40+
40| o
41+
30| o
42+
20| o o
43+
10| o o o
44+
0| o o o
45+
----------
46+
F C A
47+
o l u
48+
o o t
49+
d t o
50+
h
51+
i
52+
n
53+
g
54+
```
55+
56+
See all the requirements at [FreeCodeCamp](https://www.freecodecamp.org/learn/scientific-computing-with-python/scientific-computing-with-python-projects/budget-app)
57+
58+
You can try my code at [Replit](https://replit.com/@PabloPerez26/budget-app)

0 commit comments

Comments
 (0)