Aan de slagGa gratis aan de slag

Identifying proper docstrings

We covered how to write fully-fledged docstrings. Before writing one of your own, this exercise will help you practice by having you identify a properly formatted docstring.

In this exercise, you'll be using the functions goldilocks(), rapunzel(), mary(), and sleeping_beauty() which have been loaded in your environment.

Deze oefening maakt deel uit van de cursus

Software Engineering Principles in Python

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Run the help on all 4 functions
help(goldilocks)
____(rapunzel)
help(____)
____(____)
Code bewerken en uitvoeren