Articles → Python → Keyword argument function in python

Keyword argument function in python






What is keyword argument function?




# this is the function definition
def HelloWorld(name, address):
    print("person name is:", name)
    print("person address is:", address)
    return




HelloWorld("gyan", "india")




HelloWorld(address="India", name = "gyan")





Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, March 01, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250