Solved

In Order to Create a Docstring for a Defined Function

Question 24

Multiple Choice

In order to create a docstring for a defined function, where should the docstring be?


A) The docstring should be just before the declaration of def.
B) The docstring should be placed at the end of the execution block for the function.
C) The docstring should be the next indented line after the def statement.
D) The docstring should be placed at the end of the function, before the return statement.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents