Skip to content

Instantly share code, notes, and snippets.

@Deep18-03
Created April 20, 2020 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Deep18-03/e213431fb354b1cf2dace08ab6818be9 to your computer and use it in GitHub Desktop.
Save Deep18-03/e213431fb354b1cf2dace08ab6818be9 to your computer and use it in GitHub Desktop.
def function(*args,**kwargs):
for i in args:
print(i)
for k,v in kwargs.items():
print(k,v)
har=["harry","carry","marry"]
kw={1:"deep",2:"dev"}
function(*har,**kw)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment