We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac2dd92 commit 2f72614Copy full SHA for 2f72614
_episodes/08-defensive.md
@@ -472,11 +472,11 @@ This violates another important rule of programming:
472
473
> ## Testing Assertions
474
>
475
-> Given a sequence of values, the function `get_total` returns
476
-> the total of the sequence.
+> Given a sequence of a number of cars, the function `get_total_cars` returns
+> the total number of cars.
477
478
> ~~~
479
-> get_total([1, 2, 3, 4])
+> get_total_cars([1, 2, 3, 4])
480
481
> {: .python}
482
@@ -486,7 +486,7 @@ This violates another important rule of programming:
486
> {: .output}
487
488
489
-> get_total(['a', 'b', 'c'])
+> get_total_cars(['a', 'b', 'c'])
490
491
492
0 commit comments