Docstrings in python
Introduction
Python docstrings are the string literals that appear right after the definition of a function, method, class, or module.
Example
def square(n):
'''Takes in a number n, returns the square of n'''
print(n**2)
square(5)
Here,
'''T...
swapnoneel.hashnode.dev2 min read