<div>
<div>&nbsp;</div>
<div>Andy:</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&nbsp;But they don&#39;t have any clue that there&#39;s a&nbsp;call stack involved, or that </blockquote>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">someday this could get them in trouble.&nbsp;&nbsp;I shudder to think about the </blockquote>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">blank looks that I will get if I try to explain why it could be a problem.&nbsp;&nbsp;</blockquote>
<div>&nbsp;</div>
<div>I&#39;d praise those stumbling on recursion, use the opportunity to talk about </div>
<div>it more specifically, and about how some languages are based on it rather </div>
<div>intensively (others not so much).</div>
<div>&nbsp;</div>
<div>Greatest Common Divisor may be written both ways:</div>
<div>&nbsp;</div>
<div>def gcd(a,b):</div>
<div>&nbsp;&nbsp; while b:</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a, b = b, a % b</div>
<div>&nbsp;&nbsp; return a</div>
<div>&nbsp;</div>
<div>or:</div>
<div>&nbsp;</div>
<div>def gcd(a,b):<br>&nbsp;&nbsp; if b:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return gcd(b, a % b)<br>&nbsp;&nbsp; return a</div>
<div>&nbsp;</div>
<div>But of course if your 10th graders are pathologically math phobic,</div>
<div>like so many of their college peers, you&#39;ll want to eschew any </div>
<div>such examples and deal purely with strings.</div>
<div>&nbsp;</div>
<div>Kirby</div>
<div>&nbsp;</div></div>