day1/session2.tex
changeset 362 26c215c5a53b
parent 352 b44d7bcc6609
child 365 2cda9b04f142
equal deleted inserted replaced
357:75e997864adb 362:26c215c5a53b
   310 This gives \kwrd{tsq} which is the list of squares of \typ{t} values.
   310 This gives \kwrd{tsq} which is the list of squares of \typ{t} values.
   311 \end{frame}
   311 \end{frame}
   312 
   312 
   313 \begin{frame}[fragile]
   313 \begin{frame}[fragile]
   314   \frametitle{How to come out of the \texttt{for} loop?}
   314   \frametitle{How to come out of the \texttt{for} loop?}
   315   Hit the ``ENTER'' key twice to come to the previous indentation level
   315   Hit the ``ENTER'' key twice to return to the previous indentation level
   316   \begin{lstlisting}
   316   \begin{lstlisting}
   317     In []: for time in t:
   317     In []: for time in t:
   318      ....:     tsq.append(time*time)
   318      ....:     tsq.append(time*time)
   319      ....:     
   319      ....:     
   320      ....:     
   320      ....: