From 22d34ba6873a18d3da7a1341010d8bbe5e99ada4 Mon Sep 17 00:00:00 2001 From: Santosh G. Vattam Date: Tue, 13 Oct 2009 11:08:46 +0530 Subject: Changed the session_plan.odt. --- day1/Session-1.tex | 6 +++--- day1/Session-3.tex | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'day1') diff --git a/day1/Session-1.tex b/day1/Session-1.tex index 104f399..385e1aa 100755 --- a/day1/Session-1.tex +++ b/day1/Session-1.tex @@ -507,7 +507,7 @@ In [6]: a.split() 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 @@ Out[8]: False \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 [22]: b = 8 In [23]: if a > b: ....: print 'Hello' ....: else: - ....: print 'World' + ....: print 'World' ....: ....: World diff --git a/day1/Session-3.tex b/day1/Session-3.tex index d518781..6ad35b1 100755 --- a/day1/Session-3.tex +++ b/day1/Session-3.tex @@ -308,7 +308,7 @@ NameError: name 'sqrt' is not defined >>> from math import * \end{lstlisting} \item What is the difference? - \item \alert{Use the later only in interactive mode} + \item \alert{Use the latter only in interactive mode} \end{itemize} \emphbar{Package hierarchies} \begin{lstlisting} -- cgit