diff -r d3a8a9556a90 -r c3fe152b3539 day1/Session-4.tex --- a/day1/Session-4.tex Wed Oct 07 15:12:03 2009 +0530 +++ b/day1/Session-4.tex Wed Oct 07 15:32:44 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}