list of all keys with a certain value in dict python code example Example: dict get list of values list(d.values())