Source Code:
(back to article)
def print_kwargs(**kwargs): for key, value in kwargs.items(): print(key, ":", value) print_kwargs(name="John", age=30, city="New York")
Result:
Report an issue