diff --git a/README b/README index ed9804b..8752d93 100644 --- a/README +++ b/README @@ -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. Run the exercise. ++---------------+ +| Prerequisites | ++---------------+ + +The following must be downloaded and installed: + - Python + - Git + +------+ | Plan | +------+ Day 1 { Lessons 1-5 + Exercises 1-5 } diff --git a/e1.py b/e1.py new file mode 100644 index 0000000..5cca3cc --- /dev/null +++ b/e1.py @@ -0,0 +1,5 @@ +# Exercise 1 +# Task: +''' +Create a program that prints "Hello" +''' diff --git a/e2.py b/e2.py new file mode 100644 index 0000000..1a0ceb5 --- /dev/null +++ b/e2.py @@ -0,0 +1,5 @@ +# Exercise 2 +# Task: +''' +Create two variables, one equalling 5 and the other equalling 10, and print the sum +''' diff --git a/e3.py b/e3.py new file mode 100644 index 0000000..9cc7207 --- /dev/null +++ b/e3.py @@ -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. +''' diff --git a/e4.py b/e4.py new file mode 100644 index 0000000..d646566 --- /dev/null +++ b/e4.py @@ -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. +''' diff --git a/e5.py b/e5.py new file mode 100644 index 0000000..9249c2e --- /dev/null +++ b/e5.py @@ -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" +''' diff --git a/l1.py b/l1.py new file mode 100644 index 0000000..50a8f90 --- /dev/null +++ b/l1.py @@ -0,0 +1,2 @@ +print("hi") +print("buddy") diff --git a/l2.py b/l2.py new file mode 100644 index 0000000..4812788 --- /dev/null +++ b/l2.py @@ -0,0 +1,4 @@ +x = 5 +y = 10 + +print(x + y) diff --git a/l3.py b/l3.py new file mode 100644 index 0000000..cf944cd --- /dev/null +++ b/l3.py @@ -0,0 +1,6 @@ +print(5 + 10) +print(5 - 10) +print(5 * 10) +print(5 / 10) +print(5 % 10) + diff --git a/l4.py b/l4.py new file mode 100644 index 0000000..32024ac --- /dev/null +++ b/l4.py @@ -0,0 +1,4 @@ +x = 5 + +if x == 5: + print("True") diff --git a/l5.py b/l5.py new file mode 100644 index 0000000..c20515c --- /dev/null +++ b/l5.py @@ -0,0 +1,6 @@ +x = 10 + +if x == 5: + print("True") +else: + print("False")