summaryrefslogtreecommitdiff
path: root/slides/basic_python/strings_loops_lists.tex
diff options
context:
space:
mode:
authorPrabhu Ramachandran2015-01-22 01:03:55 +0530
committerPrabhu Ramachandran2015-01-22 01:03:55 +0530
commita95eeb47db179414ab2244a485d9c4ae32bc87d4 (patch)
tree1f7c525b818823c430efc66083982ea8e3da23bd /slides/basic_python/strings_loops_lists.tex
parent5cb9b9b7a7181cd975f8872f3ffe07b74fd1b691 (diff)
downloadsees-a95eeb47db179414ab2244a485d9c4ae32bc87d4.tar.gz
sees-a95eeb47db179414ab2244a485d9c4ae32bc87d4.tar.bz2
sees-a95eeb47db179414ab2244a485d9c4ae32bc87d4.zip
Fix small errors in basic Python slides.
Diffstat (limited to 'slides/basic_python/strings_loops_lists.tex')
-rw-r--r--slides/basic_python/strings_loops_lists.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/slides/basic_python/strings_loops_lists.tex b/slides/basic_python/strings_loops_lists.tex
index 26d7b54..1b514a6 100644
--- a/slides/basic_python/strings_loops_lists.tex
+++ b/slides/basic_python/strings_loops_lists.tex
@@ -9,7 +9,7 @@
\end{itemize}
\begin{lstlisting}
In[]: 'This is a string'
- In[]: "This is a string too'
+ In[]: "This is a string too"
In[]: '''This is a string as well'''
In[]: """This is also a string"""
In[]: '' # empty string
@@ -84,7 +84,7 @@
\begin{frame}[fragile]
\frametitle{Slicing}
\begin{lstlisting}
- In[]: q = "Hello World"
+ In[]: q = "Hello World"
In[]: q[0:3]
In[]: q[:3]
In[]: q[3:]