0 votes
in Python by
Which of the following is true about a docstring?

docstring is a document

docstring is a single lie string.

docstring is optional in a function, class or a module

doctsring is the second statement that appears in a function, class or a module.

1 Answer

0 votes
by
Ans is

docstring is optional in a function, class or a module
...