--- a/day2/cheatsheet1.tex Tue Nov 24 11:00:52 2009 +0530
+++ b/day2/cheatsheet1.tex Wed Nov 25 12:11:03 2009 +0530
@@ -74,7 +74,8 @@
In []: print w[-1] #last character of string
Out[]: o
\end{lstlisting}
-\textbf{Note:} For a string variable, individual elements can be accessed using indices.
+\textbf{Note:} For a string variable, individual elements can be accessed using indices.\\
+\textbf{Note:} All slicing and striding operations works with strings as well.
\begin{lstlisting}
In []: len(w) #function to calculate length of string
Out[]: 5