应付账款周转天数
现在我们来看看应付账款(或称为债权人),以及一个名为应付账款周转天数(Days Payable Outstanding,DPO)的比率。
该比率属于效率比率,用来衡量一家企业平均需要多少天支付供应商款项。
DPO 的计算公式如下:
\(Days\,Payable\,Outstanding = \frac{Ending\,Balance\,Creditors}{Total\,Cost\,of\,Goods\,Sold} \times Days\,in\,Financial\,Year\)
T-Z 想了解自己的应付账款周转天数,并请您进行计算。
工作区中已提供以下数据:
- 期间的总销售成本(COGS)= 4000
- 期末应付账款余额 = 650
本练习是课程的一部分
Python 金融预测
练习说明
- 设置
cogs_tot和期末应付账款余额creditors_end两个变量。 - 计算应付账款周转天数
dpo。 - 打印
dpo。
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Get the variables
cogs_tot = ____
____ = 650
# Calculate the days payable outstanding
____ = (____/____)*365
# Print the days payable outstanding
print("The days payable outstanding is {}.".format(dpo))