Skip to content

Instantly share code, notes, and snippets.

@KilledKenny
Created December 1, 2016 16:25
Show Gist options
  • Save KilledKenny/e645e2b9fcfd49555e139112aaa3fcdd to your computer and use it in GitHub Desktop.
Save KilledKenny/e645e2b9fcfd49555e139112aaa3fcdd to your computer and use it in GitHub Desktop.
def db(a=None,b=None, x={}):
if b:
x[a]=b
return x[a]
print (db("test","qqq"))
print (db("test"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment