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:
8
+
# Fundamentals
9
+
# Exceptions + Testing
10
+
# Numbers + Arithmetic
11
+
# Booleans + Comparisons + Conditionals
12
+
# Imports + Modules + Packages
13
+
# Random
14
+
# While + For Loops
15
+
# Strings
16
+
# Lists + Tuples
17
+
# Functions
18
+
# Dictionaries
19
+
# Regular Expressions in Python
20
+
# Datetimes
21
+
# Classes
22
+
# Requests
23
+
# Docstrings
24
+
# File IO
25
+
# Sets
26
+
# Virtual Environments
27
+
28
+
print(emoji.emojize(f'Learning Python is :downcast_face_with_sweat: sometimes, and it can even make my head :exploding_head: !!!'))
29
+
30
+
# emojize takes the code and displays the emoji
31
+
32
+
33
+
lessons= []
34
+
whileTrue:
35
+
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❌ '))
38
+
39
+
# demojize takes the emoji and displays the code for it
40
+
41
+
lessons.append ({
42
+
'Fundamentals': fundamentals
43
+
})
44
+
45
+
print(emoji.emojize(str(lessons)))
46
+
47
+
# if fundamentals == (':check_mark_button:'):
48
+
# lessons.append ({
49
+
# 'Fundamentals': fundamentals
50
+
# })
51
+
# else if fundamentals == (':cross_mark:')
52
+
# lessons.append ({
53
+
# 'Fundamentals': fundamentals
54
+
# })
55
+
56
+
# exceptions = input(emoji.demojize(f'Exceptions + Testing enter ✅ if reviewed: '))
57
+
# if exceptions == (':check_mark_button:'):
58
+
# lessons.append ({
59
+
# 'Exceptions + Testing': exceptions
60
+
# })
61
+
# else:
62
+
# print('Please review Exceptions + Testing')
63
+
64
+
# print(emoji.emojize(str(lessons)))
65
+
66
+
67
+
# 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: ')
68
+
69
+
# if lesson == 'Fundamentals':
70
+
# 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.'))
71
+
# elif lesson == 'Exceptions':
72
+
# 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.'))
73
+
# elif lesson == 'Numbers':
74
+
# 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