summaryrefslogtreecommitdiff
path: root/day1
diff options
context:
space:
mode:
authorPuneeth Chaganti2009-10-13 13:05:16 +0530
committerPuneeth Chaganti2009-10-13 13:05:16 +0530
commit2e00ef3f3a03d8c9692bc1de035f2010c5be1cca (patch)
treee9d9040804075ca183f769bc3fc2a6f46b08042f /day1
parent6e127e89890719a672099af484b2f9f9d6a42988 (diff)
parent22d34ba6873a18d3da7a1341010d8bbe5e99ada4 (diff)
downloadworkshops-2e00ef3f3a03d8c9692bc1de035f2010c5be1cca.tar.gz
workshops-2e00ef3f3a03d8c9692bc1de035f2010c5be1cca.tar.bz2
workshops-2e00ef3f3a03d8c9692bc1de035f2010c5be1cca.zip
Merged with mainline.
Diffstat (limited to 'day1')
-rwxr-xr-xday1/Session-1.tex6
-rwxr-xr-xday1/Session-3.tex2
2 files changed, 4 insertions, 4 deletions
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}