--- a/day1/Session-1.tex Tue Oct 13 13:03:11 2009 +0530
+++ b/day1/Session-1.tex Tue Oct 13 13:05:16 2009 +0530
@@ -507,7 +507,7 @@
Out[6]: ['hello', 'world']
In [7]: ''.join(['a', 'b', 'c'])
Out[7]: 'abc'
-In [8] 'd' in ''.join( 'a', 'b', 'c')
+In [8] 'd' in ''.join(['a', 'b', 'c'])
Out[8]: False
\end{lstlisting}
\begin{block}{Try:}
@@ -518,7 +518,7 @@
\begin{frame}[fragile]\frametitle{String formatting}
\begin{lstlisting}
-In [11]: x, y = 1, 1.2
+In [11]: x, y = 1, 1.234
In [12]: 'x is %s, y is %s' %(x, y)
Out[12]: 'x is 1, y is 1.234'
\end{lstlisting}
@@ -568,7 +568,7 @@
In [23]: if a > b:
....: print 'Hello'
....: else:
- ....: print 'World'
+ ....: print 'World'
....:
....:
World