Computer Science, asked by goatlyy, 1 year ago

what are docstrings in python?

Answers

Answered by choudhary21
8
 <b>!.................UR ANSWE DEAR..................!

______Correct⤵️ Answer⤵️______
____________________________

Docstrings

Such a docstring becomes the ➡️doc⬅️ special attribute of that object.

String literals occurring elsewhere in Python code may also act as documentation.

Python

Python documentation strings (or docstrings) provide a convenient way of associating documentation..

•Python modules
•Functions
•Classes
•Methods
_____________________________

❤️❤️❤️HOPE HELP U DEAR❤️❤️❤️
Similar questions