diff options
author | Prabhu Ramachandran | 2011-09-04 00:23:19 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-09-04 00:23:19 +0530 |
commit | 483021b097addf9aad7cce7fb53a3bbc9f55ffec (patch) | |
tree | 8c9fe54d18754f749b2c5d1d18c5b933fbc4ef2e /basic_python/slides/strings_loops_lists.tex | |
parent | 89d524e17236d8689d4d241a4cf123db74f3f86a (diff) | |
download | sees-483021b097addf9aad7cce7fb53a3bbc9f55ffec.tar.gz sees-483021b097addf9aad7cce7fb53a3bbc9f55ffec.tar.bz2 sees-483021b097addf9aad7cce7fb53a3bbc9f55ffec.zip |
BUG: Fixing a few bugs and minor formatting in the slides.
Diffstat (limited to 'basic_python/slides/strings_loops_lists.tex')
-rw-r--r-- | basic_python/slides/strings_loops_lists.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/basic_python/slides/strings_loops_lists.tex b/basic_python/slides/strings_loops_lists.tex index 244fd95..3d6d8e8 100644 --- a/basic_python/slides/strings_loops_lists.tex +++ b/basic_python/slides/strings_loops_lists.tex @@ -217,7 +217,8 @@ score = 0 \end{lstlisting} \begin{lstlisting} - score = int(score_str) if score_str != 'AA' else 0 + ss = score_str + score = int(ss) if ss != 'AA' else 0 \end{lstlisting} \end{frame} @@ -292,7 +293,7 @@ while True: print i*i i += 2 - if i<10: + if i>10: break \end{lstlisting} \end{frame} |