My function returns days of the previous week. I want to replace this part:
- datetime.timedelta(days=7)
with a function parameter that will