day1/Session-2.vrb
changeset 46 63704b5650f1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/day1/Session-2.vrb	Wed Oct 07 00:43:37 2009 +0530
@@ -0,0 +1,12 @@
+\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}