Python 3, 27 bytes
lambda e:"(|)D".find(e[-1])
Because we don't care about the eyes/nose, we can just look at the mouth (the last character) and find its index in a string with all the mouths, ordered from saddest to happiest :)
RGS
- 14.2k
- 1
- 62
- 117