Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 15)
15.
What does the term "docstring" refer to?
A variable that stores documentation
A string containing documentation for a function or module
A string used for debugging purposes
A reserved keyword in Python
Answer: Option
Explanation:
A docstring is a string literal that occurs as the first statement in a module, function, class, or method definition and is used for documentation.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.