summaryrefslogtreecommitdiff
path: root/day2/cheatsheet2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'day2/cheatsheet2.tex')
-rw-r--r--day2/cheatsheet2.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/day2/cheatsheet2.tex b/day2/cheatsheet2.tex
index bb5762a..ece16b8 100644
--- a/day2/cheatsheet2.tex
+++ b/day2/cheatsheet2.tex
@@ -193,7 +193,7 @@ Tuples are sequences just like Lists, but they are \textbf{immutable}, or items/
\begin{lstlisting}
In []: t = (1, 2, 3, 4, 5, 6, 7, 8)
\end{lstlisting}
-\textbf{Note:} For tupels we use parantheses in place of square brackets, rest is same as lists.
+\textbf{Note:} For tuples we use parentheses in place of square brackets, rest is same as lists.
\begin{lstlisting}
In []: t[0] + t[3] + t[-1] # elements are accessed via indices
Out[]: 13