diff options
author | Asokan Pichai | 2009-10-27 13:53:42 +0530 |
---|---|---|
committer | Asokan Pichai | 2009-10-27 13:53:42 +0530 |
commit | 692d69642cdb2c4cbe1c81f6baaff097a33e15dd (patch) | |
tree | 91fc06d76149fd22d8e56f8ba70ef3caf85f9efe /day1 | |
parent | 5d8b9aae33b39a885e9e64f2d43e422b9188fe5e (diff) | |
download | workshops-692d69642cdb2c4cbe1c81f6baaff097a33e15dd.tar.gz workshops-692d69642cdb2c4cbe1c81f6baaff097a33e15dd.tar.bz2 workshops-692d69642cdb2c4cbe1c81f6baaff097a33e15dd.zip |
Made some fixes
Diffstat (limited to 'day1')
-rw-r--r-- | day1/session2.tex | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/day1/session2.tex b/day1/session2.tex index b11b3c1..9fccbd1 100644 --- a/day1/session2.tex +++ b/day1/session2.tex @@ -135,7 +135,7 @@ \begin{frame} \frametitle{But its impractical..} \begin{itemize} - \item We can't keep running the IPython shell for days + \item We can't keep running IPython for days \item And its a pain to go back and edit \end{itemize} And the solution is..\\ @@ -233,6 +233,9 @@ Out[]: 7 \begin{frame}[fragile] \frametitle{List: Slicing} + \begin{block}{Remember\ldots} + In []: lst = [1,2,3,4,5] + \end{block} \alert{\typ{list[initial:final:step]}} \begin{lstlisting} In []: lst[1:3] # A slice. @@ -244,7 +247,7 @@ Out[]: [2, 3] \end{frame} \begin{frame}[fragile] - \frametitle{List concatenation and list methods} + \frametitle{List operations} \begin{lstlisting} In []: anthrlst = [6,7,8,9] In []: lnglst = lst + anthrlst |