MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Software Engineering Principles in Python

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Run the help on all 4 functions
help(goldilocks)
____(rapunzel)
help(____)
____(____)
Edit dan Jalankan Kode