We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200289a commit aa68d34Copy full SHA for aa68d34
code/kelin/labs/mini_capstone.py
@@ -1,4 +1,5 @@
1
import emoji
2
+import word2emoji
3
4
# https://pypi.org/project/emoji/ emoji 2.0.0
5
# pip install emoji
@@ -33,8 +34,10 @@
33
34
lessons = []
35
while True:
36
- fundamentals = input(emoji.demojize(f'Fundamentals enter an emoji code: \n✅\nor\n❌ '))
37
- exceptions = input(emoji.demojize(f'Exceptions + Testing enter an emoji code: \n✅\nor\n❌ '))
+ fundamentals = input(f'Enter a word to describe Fundamentals: ')
38
+ fundamentals = word2emoji(fundamentals)
39
+
40
+ # exceptions = input(emoji.demojize(f'Exceptions + Testing enter an emoji code: \n✅\nor\n❌ '))
41
42
# demojize takes the emoji and displays the code for it
43
0 commit comments