Skip to content

Instantly share code, notes, and snippets.

@edenau
Last active February 1, 2020 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edenau/4934259db4ffa3ed12fbd190ec812606 to your computer and use it in GitHub Desktop.
Save edenau/4934259db4ffa3ed12fbd190ec812606 to your computer and use it in GitHub Desktop.
def foo2(**kwargs):
print(type(kwargs))
for keyword, value in kwargs.items():
print(f'{keyword}={value}')
foo2(a=1, b=2, z='end')
# <class 'dict'>
# a=1
# b=2
# z=end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment