Skip to content

Commit 5bcc8ce

Browse files
committed
Grammar corrections
Changes 'we' pronoun to 'you' to be consistent with the rest of the episode.
1 parent 17a1013 commit 5bcc8ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_episodes/04-lists.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ does not.
160160
> ## Nested Lists
161161
> Since a list can contain any Python variables, it can even contain other lists.
162162
>
163-
> For example, we could represent the products on the shelves of a small grocery shop
163+
> For example, you could represent the products on the shelves of a small grocery shop
164164
> as a nested list called x:
165165
>
166166
> [![x is represented as a shelf full of produce. There are four rows of vegetables
@@ -169,7 +169,7 @@ does not.
169169
> contains (from left to right) lettuce, lettuce, peppers, zucchini, squash,
170170
> and basil.](../fig/04_groceries_x.png)]
171171
>
172-
> To store the contents of the shelf in a nested list, we write it this way:
172+
> To store the contents of the shelf in a nested list, you write it this way:
173173
>
174174
> ~~~
175175
> x = [['lettuce', 'lettuce', 'peppers', 'zucchini', 'squash', 'basil'],
@@ -180,7 +180,7 @@ does not.
180180
> {: .language-python}
181181
>
182182
> Here are some visual examples of how indexing a list of lists `x` works. First,
183-
> we can reference each row on the shelf as a separate list. For example, x[2]
183+
> you can reference each row on the shelf as a separate list. For example, x[2]
184184
> represents the list of baskets on the third row of the shelf.
185185
>
186186
> [![x is now shown as a list of four rows, with x[0] representing the top row of
@@ -209,7 +209,7 @@ does not.
209209
> ~~~
210210
> {: .output}
211211
>
212-
> To reference a specific basket on a specific shelf, we use two indexes. The first
212+
> To reference a specific basket on a specific shelf, you use two indexes. The first
213213
> index represents the row (from top to bottom) and the second index represents
214214
> the specific basket (from left to right).
215215
> [![x is now shown as a two-dimensional grid, with each basket labeled according to

0 commit comments

Comments
 (0)