Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Multiline docstring example

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 #docstring
ADD COMMENT
Topic
Name
2+2 =