Articles → Python → Keyword Argument Function In Python

Keyword Argument Function In Python






What Is A 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")





Output


Picture showing the output of the Keyword argument function in python



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

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250