Skip to content

Commit 3f4165e

Browse files
committed
More week 2 solutions
1 parent 449bde3 commit 3f4165e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CH40208/worked_examples/week_2_comparisons_and_flow_control.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"id": "6e4ff499-4320-4ed3-83af-565a4c1ea787",
2222
"metadata": {},
2323
"source": [
24-
"## Exercise 1: Fizzbuzz\n",
24+
"## Exercise 1: Fizzbuzz\n",
2525
"\n",
26-
"**Problem:** Write a piece of code that can play fizzbuzz.\n",
26+
"**Problem:** Write a piece of code that can play FizzBuzz.\n",
2727
"\n",
2828
"Your code should count from 1 to 100. Numbers that are divisible by 3 are replaced by \"Fizz\"; numbers that are divisible by 5 are replaced by \"Buzz\"; and numbers divisible by 3 and 5 are replaced by \"Fizz Buzz\".\n",
2929
"\n",
30-
"To generate the numbers from 1 to 100 you can use the `range()` function with two numbers, to specify the start and end of your range, i.e. `range(1,101)`."
30+
"To generate the numbers from 1 to 100, you can use the `range()` function with two numbers, to specify the start and end of your range, i.e. `range(1,101)`."
3131
]
3232
},
3333
{

CH40208/worked_examples/week_2_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Worked solutions for Week 2 exercises:
44

5-
- [Functions](week_1_functions.ipynb)
5+
- [Functions](week_2_functions.ipynb)
66
- [Comparisons and Flow Control](week_2_comparisons_and_flow_control.ipynb)
77

88
**How to use these worked examples:**

0 commit comments

Comments
 (0)