Skip to content

Commit 2f72614

Browse files
committed
Update based on feedback from pull request
1 parent ac2dd92 commit 2f72614

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_episodes/08-defensive.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,11 @@ This violates another important rule of programming:
472472
473473
> ## Testing Assertions
474474
>
475-
> Given a sequence of values, the function `get_total` returns
476-
> the total of the sequence.
475+
> Given a sequence of a number of cars, the function `get_total_cars` returns
476+
> the total number of cars.
477477
>
478478
> ~~~
479-
> get_total([1, 2, 3, 4])
479+
> get_total_cars([1, 2, 3, 4])
480480
> ~~~
481481
> {: .python}
482482
>
@@ -486,7 +486,7 @@ This violates another important rule of programming:
486486
> {: .output}
487487
>
488488
> ~~~
489-
> get_total(['a', 'b', 'c'])
489+
> get_total_cars(['a', 'b', 'c'])
490490
> ~~~
491491
> {: .python}
492492
>

0 commit comments

Comments
 (0)