CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Software Engineering Principles in Python

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Run the help on all 4 functions
help(goldilocks)
____(rapunzel)
help(____)
____(____)
Modifier et exécuter le code