Vidyalelo
Python · Q103

Functions in Python

Programming · Python · question 103

Q103

Which of the following is a feature of DocString?

A.
Provide a convenient way of associating documentation with Python modules, functions, classes, and methods
B.
All functions should have a docstring
C.
Docstrings can be accessed by the __doc__ attribute on objects
D.
All of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board