Skip to content

Instantly share code, notes, and snippets.

@tusharsadhwani
Created May 5, 2021 09:28
def i_can_take_any_values(*args, **kwargs):
print('got args:', args)
print('got kwargs:', kwargs)
i_can_take_any_values(1, 16, 'Hello', x=False, answer=42)
# Output:
# got args: (1, 16, 'Hello')
# got kwargs: {'x': False, 'answer': 42}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment