What are docstrings? What is their significance? Give example to support your answer?

  • Docstring are comment quoted with triple quotation marks.
  • Used within a program for documentation.
  • Docstring have no effect during program execution
  • Displayed as document when help (modulename) command is issued.

Example

error: Content is protected !!