From: Mart Lubbers Date: Fri, 4 Mar 2016 11:38:28 +0000 (+0100) Subject: added tuple X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=069a72ffa600f43f5729628311db97e909c35055;p=linuxnijmegen-python.git added tuple --- diff --git a/p.tex b/p.tex index c05b10e..ce9f3e8 100644 --- 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}