File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -179,8 +179,10 @@ does not.
179179>
180180> Here is a visual example of how indexing a list of lists `x` works:
181181>
182- > [][hadleywickham-tweet]
182+ > [![x is represented as a pepper shaker containing several packets of pepper. [x[0]] is represented
183+ > as a pepper shaker containing a single packet of pepper. x[0] is represented as a single packet of
184+ > pepper. x[0][0] is represented as single grain of pepper. Adapted
185+ > from @hadleywickham.](../fig/indexing_lists_python.png)][hadleywickham-tweet]
184186>
185187> Using the previously declared list `x`, these would be the results of the
186188> index operations shown in the image:
You can’t perform that action at this time.
0 commit comments