What is docstring in Python?

Last updated 3 weeks, 1 day ago | 19 views 75     5

Tags:- Python

Python | Docstring 

  • A documentation string or docstring is a multiline string used to document a specific code segment.
  • The docstring should describe what the function or method does.