Added inctime to Day-1 Session 2 slides.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Sat, 03 Oct 2009 23:50:35 +0530
changeset 21 844b81ad2a3c
parent 20 84458ebb6951
child 22 492017122355
child 29 8121d3ea15b5
Added inctime to Day-1 Session 2 slides.
day1/Session-2.tex
--- a/day1/Session-2.tex	Sat Oct 03 23:20:03 2009 +0530
+++ b/day1/Session-2.tex	Sat Oct 03 23:50:35 2009 +0530
@@ -249,10 +249,10 @@
       \item Refer here:
           \url{http://docs.python.org/library/functions.html}
   \end{itemize}
-  \inctime{15} 
+  \inctime{10} 
 \end{frame}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% TIME: 15 m, running 120m 
+% TIME: 10 m, running 30m 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \begin{frame}{Problem set 2}
@@ -281,11 +281,11 @@
   A pair of numbers (a, b) is said to be \alert{amicable} if the aliquot number of a is b and the aliquot number of b is a.\\
   Example: \texttt{220, 284}\\
   Write a program that prints all five digit amicable pairs.
-  \inctime{30}
+  \inctime{25}
 \end{frame}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% TIME: 30 m, running 150m 
+% TIME: 25 m, running 55m 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \subsection{Lists}
@@ -370,8 +370,13 @@
 >>> a
 [123, 1234, 12345]
 \end{lstlisting}
+\inctime{10}
 \end{frame}
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% TIME: 10 m, running 65m 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 \begin{frame}[fragile]
   \frametitle{List methods}
 \begin{lstlisting}
@@ -402,8 +407,13 @@
 >>> 'ell' in 'hello world'
 True
   \end{lstlisting}
+  \inctime{5}
 \end{frame}
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% TIME: 5 m, running 70m 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 \begin{frame}[fragile]
   \frametitle{Tuples: immutable}
 \begin{lstlisting}
@@ -419,8 +429,12 @@
     \item Multiple return values are actually a tuple.
     \item Exchange is tuple (un)packing
 \end{itemize}
+\inctime{5}
+\end{frame}
 
-\end{frame}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% TIME: 5 m, running 75m 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \begin{frame}[fragile]
   \frametitle{\typ{range()} function}
@@ -481,11 +495,11 @@
 2 c
   \end{lstlisting}
 Try: \typ{print enumerate(a)}
-\inctime{20}
+\inctime{10}
 \end{frame}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% TIME: 20 m, running 170m 
+% TIME: 10 m, running 85m 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \begin{frame}