Nameerror name d is not defined. Name 'total_expense' is not defined знещт.