repositories
/
linuxnijmegen-python.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd22797
)
added tuple
author
Mart Lubbers
<mart@martlubbers.net>
Fri, 4 Mar 2016 11:38:28 +0000
(12:38 +0100)
committer
Mart Lubbers
<mart@martlubbers.net>
Fri, 4 Mar 2016 11:38:28 +0000
(12:38 +0100)
p.tex
patch
|
blob
|
history
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}