Compare commits
2
Commits
silliness
...
d320b0b2f7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d320b0b2f7 | ||
|
|
6893a4b893 |
No files matched your search
@@ -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
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Exercise 1
|
||||||
|
# Task:
|
||||||
|
'''
|
||||||
|
Create a program that prints "Hello"
|
||||||
|
'''
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Exercise 2
|
||||||
|
# Task:
|
||||||
|
'''
|
||||||
|
Create two variables, one equalling 5 and the other equalling 10, and print the sum
|
||||||
|
'''
|
||||||
@@ -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.
|
||||||
|
'''
|
||||||
@@ -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.
|
||||||
|
'''
|
||||||
@@ -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"
|
||||||
|
'''
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
x = 6
|
x = 5
|
||||||
|
|
||||||
if x == 5:
|
if x == 5:
|
||||||
print("True")
|
print("True")
|
||||||
Reference in new issue
Block a user