diff options
author | Peter Ward <peteraward@gmail.com> | 2013-07-18 20:18:33 +1000 |
---|---|---|
committer | Peter Ward <peteraward@gmail.com> | 2013-07-18 20:18:33 +1000 |
commit | 86c88670ea757cee11864ec00e6819726c65473a (patch) | |
tree | 6d7a24abf2661b80df72fe8d0e53d72f5193ec09 /docs/random_simple.tex | |
parent | a08792ddb7ffeed3e1d376248777a5f7c010bd67 (diff) |
conditionally show the code
Diffstat (limited to 'docs/random_simple.tex')
-rw-r--r-- | docs/random_simple.tex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/random_simple.tex b/docs/random_simple.tex index a1ff557..778ae9c 100644 --- a/docs/random_simple.tex +++ b/docs/random_simple.tex @@ -45,6 +45,8 @@ doesn’t know any better, it will happily move into the square where its tail i \label{brd:random-death} \end{board} +\ifshowcode + \pagebreak By the way, how long was your solution? @@ -63,3 +65,4 @@ So if you write \mint{python}|choice('UDLR')|, that’s the same as if you had written \mint{python}|choice(['U', 'D', 'L', 'R'])|. +\fi |