keyword arguments : Function Default Argument : Buildin Function PYTHON examples


PYTHON examples » Buildin 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 Buildin Function
» Function Default Argument