def add(x, y): return x + yparams = (1, 2)add(*params)params = {'name': 'Sir Robin', 'greeting': 'Well met'}def with_stars(**kwds): print kwds['name'], 'is', kwds['age'], 'years old'def without_stars(kwds): print kwds['name'], 'is', kwds['age'], 'years old'args = {'name': 'Mr. Joe', 'age': 42}with_stars(**args)without_stars(args)
Name (required)
email (will not be published) (required)
Website