A takeaway logs how many minutes each delivery took. Some entries are None because the driver forgot to log the time.
Write outliers(minutes). Using the 1.5 × IQR rule, return the times that fall outside the fences, in the order they appear in the list:
quantile, worked out from the logged times only (skip the Nones)Keep repeated outliers each time they appear. Never include a None. If nothing is outside the fences, return an empty list. There is always at least one logged time.