logo

... args kwargs: kwargs



Notes

We've expanded the function to also be able to handle many keyword arguments. Feel free to play around with function inputs. Understanding the print statements here is important.

def function(a, b, *args, keyword=True, **kwargs):
    print(a, b)
    print(args)
    print(keyword)
    print(kwargs)

Feedback? See an issue? Something unclear? Feel free to mention it here.



If you want to be kept up to date, consider signing up for the newsletter.