human
get key by value in dictionary with same value in python?
assistant
Here is some code to get keys with same value in dictionary `d`

print([key for key, value in d.items() if value == 1])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.