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")




Picture showing the output of the Keyword argument function in python

Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250