+ 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

dictionariesemoji
11th Sep 2020, 10:23 AM
Sanjay Kamath
Sanjay Kamath - avatar
1 Answer
+ 4
yeah, for python something like this should work: emoji_dict = { "😂": 1, "đŸ€©": 2, "🙄": 3 }
11th Sep 2020, 10:26 AM
Bagon
Bagon - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
how to refill the heart in sololearn ?
3 Votes
Do i need to pay
1 Votes
Can you please tell me which is the best software to use and to code ( on software ) and it is beginner friendly
1 Votes
Hey I have a Question.
0 Votes
C# Lesson in Loops
1 Votes
Can i combine Html,CSS , JavaScript with C/C++ codes
1 Votes
Why aren't they adding a method to gain hearts from practicing the courses
0 Votes
Have anyone ideas for an AI ChatBot?
2 Votes
How can a data be moved from one table to another table automatically,maybe houry or daily?
1 Votes
What Is wrong with my Python code? If you know tell me
0 Votes
Follow us on Linkedin
Check out our facebook
See what we tweet about
Join our instagram
Watch our Youtube
HomeProFAQContactBug Bounty ProgramCareersTerms of UsePrivacy PolicySololearn Mobile
Made with
by  Sololearn | ©2023