--- a/day1/session3.tex Tue Jan 12 19:05:09 2010 +0530
+++ b/day1/session3.tex Thu Jan 21 15:26:11 2010 +0530
@@ -162,28 +162,29 @@
\begin{frame}[fragile]
\frametitle{Mean ``g''}
\begin{lstlisting}
-total = 0
-for g in G:
- total += g
+In []: total = 0
+In []: for g in G:
+ ....: total += g
+ ....:
-g_mean = total / len(G)
-print 'Mean: ', g_mean
+In []: g_mean = total / len(G)
+In []: print 'Mean: ', g_mean
\end{lstlisting}
\end{frame}
\begin{frame}[fragile]
\frametitle{Mean ``g''}
\begin{lstlisting}
-g_mean = sum(G) / len(G)
-print 'Mean: ', g_mean
+In []: g_mean = sum(G) / len(G)
+In []: print 'Mean: ', g_mean
\end{lstlisting}
\end{frame}
\begin{frame}[fragile]
\frametitle{Mean ``g''}
\begin{lstlisting}
-g_mean = mean(G)
-print 'Mean: ', g_mean
+In []: g_mean = mean(G)
+In []: print 'Mean: ', g_mean
\end{lstlisting}
\inctime{10}
\end{frame}