summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xday1/Session-1.tex6
-rwxr-xr-xday1/Session-3.tex2
-rw-r--r--session_plan.odtbin22325 -> 11623 bytes
3 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}
diff --git a/session_plan.odt b/session_plan.odt
index 574f6b3..b4e2e8e 100644
--- a/session_plan.odt
+++ b/session_plan.odt
Binary files differ