Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python multiline comment using docstrings

Multiline docstring example
def Add(a,b):
    '''Takes two number as input 
     Adds a and b
     Returns sum of a and b as output
    '''
    return a+b

print(Add(5,6))
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #Python #multiline #comment #docstrings
ADD COMMENT
Topic
Name
2+7 =