added tuple
authorMart Lubbers <mart@martlubbers.net>
Fri, 4 Mar 2016 11:38:28 +0000 (12:38 +0100)
committerMart Lubbers <mart@martlubbers.net>
Fri, 4 Mar 2016 11:38:28 +0000 (12:38 +0100)
p.tex

diff --git a/p.tex b/p.tex
index c05b10e..ce9f3e8 100644 (file)
--- a/p.tex
+++ b/p.tex
@@ -61,7 +61,9 @@ print(str(i/46) + ' hoi')
                        \mintinline{python}{str} & \mintinline{python}
                                {'hi', "hi", '"', "'", """hi"""}\\
                        \mintinline{python}{list} & \mintinline{python}
-                               {[], ..., [1, 2, 3], ['a', 42], [[], [1]]}
+                               {[], ..., [1, 2, 3], ['a', 42], [[], [1]]}\\
+                       \mintinline{python}{tuple} & \mintinline{python}
+                               {(1,), (1,2), (1, 'a', True), ((4, 3), 4)}
                \end{tabular}
        \end{block}
        \begin{block}{operators}