LoslegenKostenlos loslegen

Debtor days ratio

The first ratio we will look at is debtor days. This ratio looks at how many days it takes to receive our money from our debtors. It is usually calculated over a period of 1 financial year.

The ratio is as follows:

\(Debtor\,Days = \frac{Ending\,Balance\,Debtors}{Sales} \times Days\,in\,Financial\,Year\)

The following information is available to you:

  • Sales for the year: 12,500 USD
  • Ending Debtors balance: 650

Diese Übung ist Teil des Kurses

Financial Forecasting in Python

Kurs anzeigen

Anleitung zur Übung

  • Create the variables for the ending debtors balance debtors_end, and the total sales for the year sales_tot.
  • Calculate the debtor days ratio ddays_ratio.
  • Print the result.

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Create the variables
____ = ____
____ = ____

# Calculate the debtor days variable
____ = (____/____) * 365

# Print the result
print("The debtor days ratio is {}.".format(____))
Code bearbeiten und ausführen