import emoji # pip install emoji
def emoji_func(*emojis, **kwemojis):
for x in emojis:
print(f"{x} {emoji.demojize(x)}")
for x in kwemojis:
print(f"{kwemojis[x]} {emoji.demojize(kwemojis[x])}")
# define emoji list
emoji_list1 = ['🥵','🤐', '😎']
# define emoji dict
emoji_dict1 = {'laptop': '💻', 'desktop': '🖥️'}
print('-'*50, '↓ print(1) ↓')
emoji_func(*emoji_list1)
print('-'*50, '↓ print(2) ↓')
emoji_func(**emoji_dict1)