What are docstrings in python

    0
    12

    Docstrings in Python are not actually comments, but they are documentation strings. These Docstrings are within triole quotes. They are not assigned to any variable and there fore at times, serve the purpose of comments as well.

    Example :-

    " " "
    Usign docstrings as a comment 
    " " "
    X=8
    y=7
    z= X*y
    Print (z)