Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Defining Function in Python

# defining a function  
def my_func():  
    print("Greetings User! Welcome to Softhunt.net")  
  
# calling the function  
my_func()
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Defining #Function #Python
ADD COMMENT
Topic
Name
3+6 =