Docstring
What is docstring? A simple explanation for beginners, with no jargon.
A short description in triple quotes at the start of a function, explaining what it does.
Learn it hands-on
Hevara teaches docstring step by step, with everyday examples and practice questions, in:
- Functions, Modules and Packages (Lesson, 45 min, Premium)
Related terms
New to AI?
Hevara explains artificial intelligence, machine learning and generative AI from zero, with plain-English lessons and hands-on case studies.