Question #137

What is the type of the returned object in the code snippet below?
def foo(**kwargs):
    return kwargs


foo(a=1, b=2, c=3)

When a function is given the **kwargs parameter, the kwarg argument is then represented as a dictionary in the function. (docs.python.org/dev/tutorial/controlflow.html#more-on-def...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: