You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Using emoji package to help describe my understanding of Python lessons:
10
-
# Fundamentals
11
-
# Exceptions + Testing
12
-
# Numbers + Arithmetic
13
-
# Booleans + Comparisons + Conditionals
14
-
# Imports + Modules + Packages
15
-
# Random
16
-
# While + For Loops
17
-
# Strings
18
-
# Lists + Tuples
19
-
# Functions
20
-
# Dictionaries
21
-
# Regular Expressions in Python
22
-
# Datetimes
23
-
# Classes
24
-
# Requests
25
-
# Docstrings
26
-
# File IO
27
-
# Sets
28
-
# Virtual Environments
29
-
30
-
print(emoji.emojize(f'Learning Python is :downcast_face_with_sweat: sometimes, and it can even make me feel like :exploding_head: !!!'))
12
+
13
+
14
+
print(emoji.emojize(f'Learning Python is :downcast_face_with_sweat: sometimes it can even make me feel like :exploding_head: !!!'))
31
15
32
16
# emojize takes the code and displays the emoji
33
17
@@ -42,61 +26,27 @@
42
26
43
27
44
28
45
-
# exceptions = input(emoji.demojize(f'Exceptions + Testing enter an emoji code: \n✅\nor\n❌ '))
29
+
# word2emoji takes a word and turns it into an emoji
46
30
47
-
# demojize takes the emoji and displays the code for it
31
+
# emoji.demojize takes the emoji and displays the code for it
48
32
49
33
learning.append ({
50
34
'Learning Python is' : wordemoji,
51
-
'sometimes, and it can even make me feel like' : wordtwoemoji
35
+
'sometimesit can make me feel like' : wordtwoemoji
52
36
})
53
37
54
38
# The user inputed word is turned into an emoji
55
39
56
40
emojicode=emoji.demojize(wordemoji)
57
41
emojicodetwo=emoji.demojize(wordtwoemoji)
58
42
59
-
# The emojis are turned into codes
43
+
# The emojis are turned into a message and the codes are displayed to user
60
44
61
-
print(learning, 'Your emoji codes are ',emojicode, 'and ', emojicodetwo)
45
+
learningprint=pprint.Pre(learning)
62
46
47
+
print(learningprint, 'Your emoji codes are ',emojicode, 'and ',emojicodetwo)
63
48
64
-
# print(emoji.demojize(wordemoji, wordtwoemoji))
65
-
66
-
# if fundamentals == (':check_mark_button:'):
67
-
# lessons.append ({
68
-
# 'Fundamentals': fundamentals
69
-
# })
70
-
# else if fundamentals == (':cross_mark:')
71
-
# lessons.append ({
72
-
# 'Fundamentals': fundamentals
73
-
# })
74
-
75
-
# exceptions = input(emoji.demojize(f'Exceptions + Testing enter ✅ if reviewed: '))
76
-
# if exceptions == (':check_mark_button:'):
77
-
# lessons.append ({
78
-
# 'Exceptions + Testing': exceptions
79
-
# })
80
-
# else:
81
-
# print('Please review Exceptions + Testing')
82
-
83
-
# print(emoji.emojize(str(lessons)))
84
-
85
-
86
-
# Fundamentals\nExceptions + Testing\nNumbers + Arithmetic\nBooleans + Comparisons + Conditionals\nImports + Modules + Packages\nRandom\nWhile + For Loops\nStrings\nLists + Tuples\nFunctions\nDictionaries\nRegular Expressions in Python\nDatetimes\nClasses\nRequests\nDocstrings\nFile IO\nSets\nVirtual Environments\n\nEnter a lesson to see my description: ')
87
49
88
-
# if lesson == 'Fundamentals':
89
-
# print(emoji.emojize(f'Fundamentals :school: is about different data types from strings :COOL_button: to integers :input_numbers: and also goes over dictionaries and lists.'))
90
-
# elif lesson == 'Exceptions':
91
-
# print(emoji.emojize(f'Exceptions and Testing :test_tube: is about Python finding errors in your code and giving you a message :spiral_notepad:" including the line :pencil:" the error occured on.'))
92
-
# elif lesson == 'Numbers':
93
-
# print(emoji.emojize(f'Numbers and Arithmetic :input_numbers: in Python is about different types of numbers from Integers to Floats and mathematical operations to get a result from those numbers'))
0 commit comments