Fundamentals17 / 30
Up next

Docstrings

def square(n):
    """Return n multiplied by itself."""
    return n * n


print(square.__doc__)
print(square(6))
What you're solving

document a function with """ """