day1/Session-2.vrb
author Madhusudan.C.S <madhusudancs@gmail.com>
Wed, 07 Oct 2009 14:42:38 +0530
changeset 49 2adb90f9e287
parent 46 63704b5650f1
permissions -rw-r--r--
Added what did we learn to all slides and reworked on Session 2 and 4.

\frametitle {\typ{for}: the list companion}
  \begin{lstlisting}
In [89]: for p, ch in enumerate( a ):
   ....:     print p, ch
   ....:
   ....:
0 a
1 b
2 c
  \end{lstlisting}
Try: \typ{print enumerate(a)}
\inctime{10}