Login and get coding
Python 3 supports Unicode so we can do cool stuff like ... emojis 😅
Let's play a bit with emoji-to-text and vice versa. Complete the two functions below to get the meaning of an emoji, and secondly build a lookup of emojis by string.
No external modules required, you will leverage (once more) the standard library: use the
unicodedatamodule. And this is what you will build 😎$ python emoji.py smiling Grinning Face With Smiling Eyes | 😁 Smiling Face With Open Mouth | 😃 Smiling Face With Open Mouth And Smiling Eyes | 😄 Smiling Face With Open Mouth And Cold Sweat | 😅 Smiling Face With Open Mouth And Tightly-Closed Eyes | 😆 ...
80 out of 80 users completed this Bite.
Will you be Pythonista #81 to crack this Bite?
Resolution time: ~58 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 5.0 on a 1-10 difficulty scale.
» Up for a challenge? 💪