坏账
当向客户提供赊销条款时,总会存在客户不偿还欠款的风险。在金融领域,这被称为"坏账"。
我们已经记录了销售收入,但由于未收到这笔款项,现在需要记录这部分销售的损失。
这同时会影响利润表和资产负债表。在利润表中,我们在核销坏账的当月将销售额记录为负数。在资产负债表中,我们需要减少应收账款这一资产。
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(____, ____, ____))