Com escriure i utilitzar doctest per escriure codi de prova en docstrings a Python. https://ca.from-locals.com/python-doctest-example/