Skip to content

Commit b43edd4

Browse files
committed
Refactor data_entry.py and add data entry functions
1 parent bf62f87 commit b43edd4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Personal_Finance_Tracker/data_entry.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
from datetime import datetime
22

33
date_format = "%d-%m-%Y"
4+
45
categories = {
56
"I": "Income",
67
"E": "Expense"
78
}
89

10+
"""
11+
creating all data entry functions for the user to input the data
12+
"""
13+
914
def get_date(prompt, allow_default=False):
1015
date = input(prompt)
1116
if allow_default and not date:

0 commit comments

Comments
 (0)