Skip to content

Instantly share code, notes, and snippets.

Last active Mar 16, 2018
What would you like to do?
def function_name (dict, keys):
result = {}
for k, v in dict.items():
if k not in keys:
result[k] = v
return result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment