Skip to content

Commit bef7b06

Browse files
authored
Update script.py
1 parent b02ca7f commit bef7b06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import unicodedata
22

3+
# Get the emoji from user input as a string
34
em = input('Enter Emoji : ')
5+
6+
# return the encoded name of the emoji from the metadata
47
print(unicodedata.name(em[0]))

0 commit comments

Comments
 (0)