Examveda

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: Option D


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python