<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def churn(self):
 		"""Return number of canceled Subscriptions divided by active Subscriptions."""

		canceled = self.canceled().count()
		active = self.active().count()
		return decimal.Decimal(str(canceled)) / decimal.Decimal(str(active))