diff options
Diffstat (limited to 'slides/basic_python/strings_loops_lists.tex')
-rw-r--r-- | slides/basic_python/strings_loops_lists.tex | 4 |
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:] |