branch | scipy2010 |
changeset 424 | 2ab009c9f80a |
parent 393 | b7d2222b60a8 |
child 450 | 80028e4eee3d |
423:11c942a85b3f | 424:2ab009c9f80a |
---|---|
284 Out[]: [2, 4] |
284 Out[]: [2, 4] |
285 |
285 |
286 In []: a[::2] |
286 In []: a[::2] |
287 Out[]: [1, 3, 5] |
287 Out[]: [1, 3, 5] |
288 |
288 |
289 In []: a[-1::-1] |
289 In []: a[::-1] |
290 Out[]: [5, 4, 3, 2, 1] |
290 Out[]: [5, 4, 3, 2, 1] |
291 \end{lstlisting} |
291 \end{lstlisting} |
292 \end{frame} |
292 \end{frame} |
293 |
293 |
294 \begin{frame}[fragile] |
294 \begin{frame}[fragile] |