diff --git a/_episodes/03-lists.md b/_episodes/03-lists.md index 5d9f95ca1..0c74c366c 100644 --- a/_episodes/03-lists.md +++ b/_episodes/03-lists.md @@ -468,7 +468,7 @@ Omitting ending index: ["sep", "oct", "nov", "dec"] > Compare it to: > > ~~~ -> left, right = right, left +> left, right = [right, left] > ~~~ > {: .python} > @@ -488,7 +488,7 @@ Omitting ending index: ["sep", "oct", "nov", "dec"] > > ~~~ > > {: .output} > > -> >In the first case we used a temporary variable `temp` to keep the value of `left` before we overwrite it with the value of `right`. In the second case, we pack `right` and `left` into a tuple and then unpack it again into `left` and `right`. +> >In the first case we used a temporary variable `temp` to keep the value of `left` before we overwrite it with the value of `right`. In the second case, `right` and `left` are packed into a list and then unpacked into `left` and `right`. > {: .solution} {: .challenge}