-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmojis.py
More file actions
31 lines (25 loc) · 746 Bytes
/
Emojis.py
File metadata and controls
31 lines (25 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Python program to print Emojis.
'''
There are multiple ways we can print the Emojis in Python. Let’s see how to print Emojis with Unicodes,
CLDR names and emoji module.
'''
# Using Unicodes:
# grinning face
print("\U0001f600")
# grinning squinting face
print("\U0001F606")
# rolling on the floor laughing
print("\U0001F923")
# Using CLDR short name:
# grinning face
print("\N{grinning face}")
# slightly smiling face
print("\N{slightly smiling face}")
# winking face
print("\N{winking face}")
# Using emoji module:
# import emoji module
# import emoji
# print(emoji.emojize(":grinning_face_with_big_eyes:"))
# print(emoji.emojize(":winking_face_with_tongue:"))
# print(emoji.emojize(":zipper-mouth_face:"))