You are trying to be more judicious in your expense tracking and have starting tracking your expenses on your computer.
Note
There are two parts to this exercise! Read carefully!
You have designed a custom file format to track your monthly expenses. It is time for you to add your expenses for February 2025.
The process begins by creating a new file (format: yyyy-MM.csv
) that will store all transactions for February 2025. The file needs to follow the same structure as previous months' records, including columns for Date (format: yyyy-MM-dd
), Description, Amount.
This is what some of the records for January 2025 looks like (file also included):
Date,Description,Amount
2025-01-01,Opening Balance,0
2025-01-03,Salary Credit,3000
2025-01-10,Electricity Bill,-180,6700
Specifically, in February 2025, there were three expenses:
Date | Description | Amount |
---|---|---|
3 February 2025 | Grocery store | -55.35 |
3 February 2025 | Haircut | -14.00 |
5 February 2025 | Dinner with friends | -50.25 |
Please add the above entries for your February 2025 expenses. Please name the file 2025-02.csv
. Feel free to add more entries for fun!
Hint 1
Have you named the new expense file 2025-02.csv
?
Hint 2
Have you added the three expenses above?
Hint 3
Add the file 2025-02.csv
with the following content:
Date,Description,Amount
2025-02-03,Grocery store,-55.35
2025-02-03,Haircut,-14.00
2025-02-05,Dinner with friends,-50.25
As you were filling in your expenses for February 2025, you look back to the expenses logged for January 2025 and you notice that there are several erroneous entries.
Specifically, you realize that the "Description" for some of the entries are listed as "Unknown Transaction". That's not good for tracking!
Can you go through the expenses from January 2025 and find the erroneous entries and correct them? (Any other values work!)
Hint 1
Have you taken a look at the 2025-01.csv
file?
Hint 2
These are the entries that need to be fixed:
- 2025-01-06: -250
- 2025-01-12: -500
- 2025-01-17: -1000
- 2025-01-23: -350
- Apply
git add
andgit commit
To submit your progress, run the submit.sh
script found in this repository:
bash submit.sh