function_keyword.py 119 B

1234567
  1. def func(a, b=5, c=10):
  2. print 'a is', a, 'and b is', b, 'and c is', c
  3. func(3, 7)
  4. func(25, c=24)
  5. func(c=50, a=100)