diff -r fccb3551c7d5 -r fc74987a475d day1/Session-2.tex --- a/day1/Session-2.tex Wed Oct 07 15:12:17 2009 +0530 +++ b/day1/Session-2.tex Wed Oct 07 15:21:29 2009 +0530 @@ -78,7 +78,7 @@ \author[FOSSEE Team] {Asokan Pichai\\Prabhu Ramachandran} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {10, October 2009} +\date[] {10, October 2009\\Day 1, Session 2} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} @@ -137,17 +137,6 @@ \end{frame} -\begin{frame}{Problem 1.3 - Kaprekar's constant} - \begin{enumerate} - \item Take a four digit number--with at least two digits different. - \item Arrange the digits in ascending and descending order, giving A and D respectively. - \item Leave leading zeros in A! - \item Subtract A from D. - \item With the result, repeat from step 2. - \end{enumerate} - Write a program to accept a 4-digit number and display the progression to Kaprekar's constant. -\end{frame} - \begin{frame}[fragile]{Problem 1.4} Write a program that prints the following pyramid on the screen. \begin{lstlisting} @@ -503,9 +492,14 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame} - \frametitle{Did we meet the goal?} - \tableofcontents - % You might wish to add the option [pausesections] + \frametitle{What did we learn?} + \begin{itemize} + \item Defining functions and calling them + \item Lists: Creating, Indexing, Slicing and List methods + \item Tuples + \item range() function + \item for loops + \item iterating lists with for, for...range() + \end{itemize} \end{frame} - \end{document}