Skip to content

Commit f003abd

Browse files
Merge pull request #158 from LaunchCodeEducation/call-center-cleanup-audit
Call center cleanup audit
2 parents e8bd783 + 66d4228 commit f003abd

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

content/functions/exercises/_index.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,14 @@ You will find the starter code in `data-analysis-projects/functions/exercises/fu
116116
```
117117

118118
{{% expand "Check your solution" %}}
119-
119+
120120
```python {linenos=table}
121121
def make_rectangle(width, height):
122122
rectangle = ""
123123
for i in range(height):
124-
rectangle += (make_line(width) + "\n")
124+
rectangle += make_line(width)
125+
if i < height - 1:
126+
rectangle += "\n"
125127
return rectangle
126128

127129
print(make_rectangle(5, 3))
@@ -170,7 +172,7 @@ You will find the starter code in `data-analysis-projects/functions/exercises/fu
170172
specified number of hashes, followed again by `num_spaces` more spaces.
171173

172174
```python
173-
print(make_space_line(3, 5));
175+
print(make_space_line(3, 5))
174176
```
175177

176178
**Console Output**

content/functions/reading/function-output/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def count_to_n(n):
9191
if count > n:
9292
return
9393
print(count)
94-
count += count
94+
count += 1
9595
```
9696

9797
{{% /notice %}}

content/functions/studio/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ draft = false
55
weight = 3
66
+++
77

8-
The `reverse` list method flips the order of the elements within an list.
8+
The `reverse` list method flips the order of the elements within a list.
99
However, `reverse` does not affect the digits or characters *within* those
1010
elements.
1111

content/projects/assignment3/task-four/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ draft = false
55
weight = 4
66
+++
77

8-
This fourth task of this assignment is to clean your data! You should feel comfortable beginning this task after you have completed [Chapter 22: Data Visualization with Python]({{% relref "../../../data-visualization/_index.md" %}})
8+
This fourth task of this assignment is to visualize your data! You should feel comfortable beginning this task after you have completed [Chapter 22: Data Visualization with Python]({{% relref "../../../data-visualization/_index.md" %}})
99

1010
Create a visualization for each of the following questions. Some of the code to handle aggregating and storing data may be written for you. For each visualization, you choose the chart style that you feel suits the situation best. Make note of the chart style you chose within the notebook and why.
1111

0 commit comments

Comments
 (0)