Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

functions in python programming

#Statements with pound sign are comments, just to guide. They wont be executed.
#Funtion Definition- Must include def
def my_Function():
#statements within a function, will be executed when the function is called
    print("Hello World!")
#Function Calling
my_Function()
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #functions #python #programming
ADD COMMENT
Topic
Name
4+1 =