+ 3

Emoji inputs

Can news we use a dictionary object to correlate an emoji input with a number ? C# / Python https://code.sololearn.com/cx3ZVSleEBic/?ref=app

11th Sep 2020, 10:23 AM
Sanjay Kamath
Sanjay Kamath - avatar
1 Réponse
+ 4
yeah, for python something like this should work: emoji_dict = { "😂": 1, "🤩": 2, "🙄": 3 }
11th Sep 2020, 10:26 AM
Bagon
Bagon - avatar