From 86c88670ea757cee11864ec00e6819726c65473a Mon Sep 17 00:00:00 2001 From: Peter Ward Date: Thu, 18 Jul 2013 20:18:33 +1000 Subject: conditionally show the code --- docs/random_simple.tex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/random_simple.tex') 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 -- cgit v1.2.3