Advertisement
Guest User

Untitled

a guest
Mar 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. def save_ranking(*args, **kwargs):
  2. print(args)
  3. print(kwargs)
  4. save_ranking('ming', 'alice', 'tom', fourth='wilson', fifth='roy') # ('ming', 'alice', 'tom')
  5. # {'fourth': 'wilson', 'fifth': 'roy'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement