Compare commits

..

2 Commits

Author SHA1 Message Date
d320b0b2f7 hi 2023-06-07 17:59:05 -04:00
6893a4b893 hi 2023-06-07 17:58:34 -04:00
11 changed files with 53 additions and 1 deletions

9
README
View File

@ -16,10 +16,19 @@ Exercises are contained in files as well (for instance, exercise 1 is contained
Read the comment and do what it instructs you to do. Read the comment and do what it instructs you to do.
Run the exercise. Run the exercise.
+---------------+
| Prerequisites |
+---------------+
The following must be downloaded and installed:
- Python
- Git
+------+ +------+
| Plan | | Plan |
+------+ +------+
Day 1 { Day 1 {
Lessons 1-5 Lessons 1-5
Exercises 1-5
} }

5
e1.py Normal file
View File

@ -0,0 +1,5 @@
# Exercise 1
# Task:
'''
Create a program that prints "Hello"
'''

5
e2.py Normal file
View File

@ -0,0 +1,5 @@
# Exercise 2
# Task:
'''
Create two variables, one equalling 5 and the other equalling 10, and print the sum
'''

13
e3.py Normal file
View File

@ -0,0 +1,13 @@
# Exercise 3
# Task:
'''
Print the following:
- Sum of 5 and 10
- Difference of 5 and 10
- Product of 5 and 10
- Quotient of 5 and 10
- Remainder of 5 and 10
Do not use variables.
'''

7
e4.py Normal file
View File

@ -0,0 +1,7 @@
# Exercise 4
# Task:
'''
Create a variable that is equal to 5.
Use an if statement to print "True" if the variable is equal to 5.
'''

7
e5.py Normal file
View File

@ -0,0 +1,7 @@
# Exercise 5
# Task
'''
Create a variable that is equal to 10
If the variable is equal to 5, print "True", otherwise print "False"
'''

View File

View File

View File

View File

@ -1,4 +1,4 @@
x = 6 x = 5
if x == 5: if x == 5:
print("True") print("True")

6
l5.py Normal file
View File

@ -0,0 +1,6 @@
x = 10
if x == 5:
print("True")
else:
print("False")