呆帳
當你提供客戶帳期時,總是存在客戶不付款的風險。在財務領域,這稱為「呆帳」。
因為我們已經認列了銷售,所以現在需要認列這筆從未收到款項的銷售損失。
這會同時影響損益表與資產負債表。在損益表中,於核銷該應收款的月份,將銷售列為負數。在資產負債表中,必須減少應收帳款這項資產。
以下為 1 月的已定義變數:
debtors_jan = 1500
到了 2 月,我們收到消息,其中一位客戶已進入清算程序。該客戶目前欠款 500 美元。
我們預期可收回其中的 70%;其餘部分需作為呆帳核銷。
本練習屬於課程
使用 Python 進行財務預測
練習說明
- 計算 2 月的呆帳金額。
- 依
bad_debts_feb的金額減少應收帳款的數值。 - 列印 2 月的呆帳金額。
- 列印新的應收帳款數值
debtors_feb。
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Calculate the bad debts for February
bad_debts_feb = ____*____
# Calculate the feb debtors amount
debtors_feb = (____ - ____)
# Print the debtors for January and the bad debts and the debtors for February
print("The debtors are {} in January, {} in February. February's bad debts are {} USD.".format(____, ____, ____))