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)

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


Your Email Id  
Query/FeedbackCharacters remaining 250