diff options
author | Santosh G. Vattam | 2009-10-13 11:08:46 +0530 |
---|---|---|
committer | Santosh G. Vattam | 2009-10-13 11:08:46 +0530 |
commit | 22d34ba6873a18d3da7a1341010d8bbe5e99ada4 (patch) | |
tree | 847898dc4bfed40069a54b607ee93d8ef3010525 /day1/Session-1.tex | |
parent | 6d3387dd569a7170aae7831a9515623985e1b4d3 (diff) | |
download | workshops-22d34ba6873a18d3da7a1341010d8bbe5e99ada4.tar.gz workshops-22d34ba6873a18d3da7a1341010d8bbe5e99ada4.tar.bz2 workshops-22d34ba6873a18d3da7a1341010d8bbe5e99ada4.zip |
Changed the session_plan.odt.
Diffstat (limited to 'day1/Session-1.tex')
-rwxr-xr-x | day1/Session-1.tex | 6 |
1 files changed, 3 insertions, 3 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 |