in Python by
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

0 votes
by
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

0 votes
asked Feb 11, 2020 in Python by rahuljain1
0 votes
asked Jul 2, 2020 in Python by GeorgeBell
0 votes
asked Jun 30, 2020 in Python by GeorgeBell
0 votes
asked Jul 10, 2020 in Python by GeorgeBell
+1 vote
asked Jul 16, 2020 in Python by GeorgeBell
...