t284.py 159 B

12345678
  1. def f(a, b, **c):
  2. sortc = [(x,y) for x,y in c.items()]
  3. sortc.sort()
  4. print a, b, sortc
  5. f(1, 2, d=4, e=5)
  6. f(1, b=4, e=5)
  7. f(a=1, b=4, e=5, f=6, g=7)