HarshEra commited on
Commit
02c330e
·
verified ·
1 Parent(s): 8a7c6df

budget docstring error handled

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -13,10 +13,10 @@ def finance_management_plan(budget: float, habits: str, goal: str, period: str)
13
  """A tool that gives a plan to optimize personal budget and spending based on habits and financial goals.
14
 
15
  Args:
16
- budget (float): A float representing the current budget (e.g., '100.000').
17
- habits (str): The expense habits each day of the week (e.g., 'Monday: $50, Tuesday: $30, ...').
18
- goal (str): Financial goals to achieve (e.g., 'Save $500 for a vacation').
19
- period (str): The time period in which the user wants a plan to achieve the goal (e.g., 'week', 'month').
20
 
21
  Returns:
22
  str: A personalized plan to optimize the budget and achieve the financial goal.
 
13
  """A tool that gives a plan to optimize personal budget and spending based on habits and financial goals.
14
 
15
  Args:
16
+ budget: A float representing the current budget (e.g., '100.000').
17
+ habits: The expense habits each day of the week (e.g., 'Monday: $50, Tuesday: $30, ...').
18
+ goal: Financial goals to achieve (e.g., 'Save $500 for a vacation').
19
+ period: The time period in which the user wants a plan to achieve the goal (e.g., 'week', 'month').
20
 
21
  Returns:
22
  str: A personalized plan to optimize the budget and achieve the financial goal.