+ 5

What is a docstring and how does it work? (Python)

I would like to know about docstring because the example of the lesson is not very clear to me, thank you very much

27th Dec 2019, 3:54 AM
Lady Marcela Sanchez Moreno
Lady Marcela Sanchez Moreno - avatar
2 Answers
+ 2
Full satisfactory explanation on; https://www.python.org/dev/peps/pep-0257/
27th Dec 2019, 6:58 AM
Hamza Hassan
+ 3
it's just inline comments that can be made up of multiple lines instead of # which only comments out the same line.
27th Dec 2019, 5:50 AM
grdr