# HG changeset patch # User Madhusudan.C.S # Date 1254909801 -19800 # Node ID 09c73bf81987c18c01c68bc7db139e0cf28ba0f0 # Parent c3fe152b35393437fac6565d0fda7a880096ac94# Parent fc74987a475dabf8733f1e3ab997641a9d241edd Merge Vattam and Madhu branches. diff -r fc74987a475d -r 09c73bf81987 day1/Session-2.tex --- a/day1/Session-2.tex Wed Oct 07 15:21:29 2009 +0530 +++ b/day1/Session-2.tex Wed Oct 07 15:33:21 2009 +0530 @@ -110,7 +110,7 @@ \titlepage \end{frame} -\section{Python} +\section{Functions and basic data structures} \subsection{Exercises on Control flow} \begin{frame} diff -r fc74987a475d -r 09c73bf81987 day1/Session-4.tex --- a/day1/Session-4.tex Wed Oct 07 15:21:29 2009 +0530 +++ b/day1/Session-4.tex Wed Oct 07 15:33:21 2009 +0530 @@ -110,16 +110,16 @@ \titlepage \end{frame} -\section{Python} +\section{Advanced Data structures, Functions and Debugging} \subsection{Dictionary} \begin{frame}{Dictionary} \begin{itemize} - \item aka associative arrays, key-value pairs, hashmaps, hashtables \ldots - \item \typ{ d = \{ ``Hitchhiker's guide'' : 42, ``Terminator'' : ``I'll be back''\}} \item lists and tuples index: 0 \ldots n \item dictionaries index using strings - \item aka key-value pairs + \item \typ{ d = \{ ``Hitchhiker's guide'' : 42, ``Terminator'' : ``I'll be back''\}} + \item \typ{d[``Terminator'']\\``I'll be back''} + \item aka associative array, key-value pair, hashmap, hashtable \ldots \item what can be keys? \end{itemize} \end{frame}