equal
deleted
inserted
replaced
263 Out[]: [2, 3, 4] |
263 Out[]: [2, 3, 4] |
264 \end{lstlisting} |
264 \end{lstlisting} |
265 \alert{\typ{list[initial:final]}} |
265 \alert{\typ{list[initial:final]}} |
266 \end{frame} |
266 \end{frame} |
267 |
267 |
|
268 %% more on list slicing |
268 \begin{frame}[fragile] |
269 \begin{frame}[fragile] |
269 \frametitle{List operations} |
270 \frametitle{List operations} |
270 \begin{lstlisting} |
271 \begin{lstlisting} |
271 In []: a = [ 6, 7, 8, 9] |
272 In []: a = [ 6, 7, 8, 9] |
272 In []: b = lst + a |
273 In []: b = lst + a |