What is DocString???
Posted on February 19, 2021
Docstring is a convenient way to identify that what is executing in a function. It is a type of comment which we can write within a function.That comment write within """ ("""example""").The syntax of Docsting is .__doc__ .
"""This is a function used for calculating the average of two numbers."""
This is a function which is calculating the average of two numbers.
Sign In for comment and like the post.