Python Interview Questions and Answers For Freshers part-3
21.Define docstring in Python. A string literal occurring as the first statement (like a comment) in any module, class, function or method is referred as docstring in Python. This kind of string becomes the _doc_ special attribute of the object…
Read More