keyword arguments : Function Default Argument : Function PYTHON examples


PYTHON examples » Function » Function Default Argument »

 

keyword arguments


keyword arguments

def birthday1(name, age):
    print "Happy birthday,", name, "!"" I hear you're", age, "today.n"

birthday1("Joe"1)
birthday1(1"Joe")
birthday1(name = "Joe", age = 1)
birthday1(age = 1, name = "Joe")


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Function
» Function Default Argument