Categories

Jul 10 in Python
Q: 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

Jul 10
Ans is

docstring is optional in a function, class or a module
Click here to read more about Python
Click here to read more about Insurance

Related questions

Madanswer
Feb 11 in Python
Jul 2 in Python
Jun 30 in Python
...