Quiz: Write a Docstring
Write a docstring for the readable_timedelta
function you defined earlier! Remember the way you write your docstrings is pretty flexible! Look through Python’s docstring conventions here and check out this Stack Overflow page for some inspiration!
https://www.python.org/dev/peps/pep-0257/
https://stackoverflow.com/questions/3898572/what-is-the-standard-python-docstring-format
def readable_timedelta(days): # insert your docstring here weeks = days // 7 remainder = days return "{} week(s) and {} day(s)".format(weeks, remainder)