SHARE
TWEET

Untitled

a guest Mar 26th, 2020 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. >>> def foo(**kwargs):
  2. ...     print(kwargs)
  3. ...     print(kwargs['key1'],kwargs['key2'])
  4. ...
  5. >>> foo(key1='val1',key2='val2')
  6. {'key2': 'val2', 'key1': 'val1'}
  7. val1 val2
  8. >>>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top