t = ('hi', 2) d = {'b':3, 'a':1} def foo(*args, **kwargs): for e in args: print(e) for k, v in kwargs.items(): print('key: ', k, ', value: ', v) foo(*t, **d)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter