diff --git a/main.py b/main.py index 3c58ecf..b75e3e8 100644 --- a/main.py +++ b/main.py @@ -52,7 +52,7 @@ def calculate_balance() -> None: total_costs += user_items[i].price balance = round(user_budget - total_costs, 2) - + print(f"Total cost of all items: ${total_costs}") if balance == 0: print("You have enough money for all your items.") time.sleep(2) @@ -84,7 +84,7 @@ while True: print(f"Current budget: {user_budget}") elif choice == "3": item_name = input("Enter the item name: ") - item_price = float(input(f"Enter the price for {item_name}: ")) + item_price = float(input(f"Enter the expense for {item_name}: ")) add_item(item_name, item_price) elif choice == "4":