day2/session2.tex
changeset 251 457b67834245
parent 239 8953675dc056
child 288 c4e25269a86c
equal deleted inserted replaced
250:760d5679834e 251:457b67834245
    71 % }
    71 % }
    72 
    72 
    73 
    73 
    74 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    74 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    75 % Title page
    75 % Title page
    76 \title[Basic Python]{Python:\\A formal approach}
    76 \title[Basic Python]{Python language: Data structures and functions}
    77 
    77 
    78 \author[FOSSEE Team] {The FOSSEE Group}
    78 \author[FOSSEE Team] {The FOSSEE Group}
    79 
    79 
    80 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
    80 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
    81 \date[] {1, November 2009\\Day 2, Session 2}
    81 \date[] {1, November 2009\\Day 2, Session 2}
   213     Dictionaries are iterable through keys.
   213     Dictionaries are iterable through keys.
   214   \end{block}
   214   \end{block}
   215 \end{frame}
   215 \end{frame}
   216 
   216 
   217 \begin{frame} {Problem Set 2.1: Problem 2.1.1}
   217 \begin{frame} {Problem Set 2.1: Problem 2.1.1}
   218 You are given date strings of the form ``29, Jul 2009'', or ``4 January 2008''. In other words a number a string and another number, with a comma sometimes separating the items.Write a function that takes such a string and returns a tuple (yyyy, mm, dd) where all three elements are ints.
   218 You are given date strings of the form ``29, Jul 2009'', or ``4 January 2008''. In other words a number, a string and another number, with a comma sometimes separating the items.\\Write a function that takes such a string and returns a tuple (yyyy, mm, dd) where all three elements are ints.
   219 \end{frame}
   219 \end{frame}
   220 
   220 
   221 \subsection{Set}
   221 \subsection{Set}
   222 \begin{frame}[fragile]
   222 \begin{frame}[fragile]
   223   \frametitle{Set}
   223   \frametitle{Set}
   259 
   259 
   260 \begin{frame}
   260 \begin{frame}
   261   \frametitle{Problem set 2.2}
   261   \frametitle{Problem set 2.2}
   262   \begin{description}
   262   \begin{description}
   263     \item[2.2.1] Given a dictionary of the names of students and their marks, identify how many duplicate marks are there? and what are these?
   263     \item[2.2.1] Given a dictionary of the names of students and their marks, identify how many duplicate marks are there? and what are these?
   264     \item[2.2.2] Given a string of the form ``4-7, 9, 12, 15'' find the numbers missing in this list for a given range.
   264     \item[2.2.2] Given a string of the form ``4-7, 9, 12, 15'' find the missing numbers in the given range.
   265 \end{description}
   265 \end{description}
   266 \inctime{15}
   266 \inctime{15}
   267 \end{frame}
   267 \end{frame}
   268 
   268 
   269 \section{Functions}
   269 \section{Functions}