Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to make a function in Python

print("Hello below this is function")
def hi():
    print("Hi I am a function")
hi()                                    # You must call the function
Source by www.py4e.com #
 
PREVIOUS NEXT
Tagged: #How #function #Python
ADD COMMENT
Topic
Name
6+3 =