<human>:  sort dict by value python
<bot>: Here is some code to sort dict `data` by value

sorted(data, key=data.get)

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