<p><br>
On Sep 29, 2012 2:25 AM, "Alan Gauld" <<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>> wrote:<br>
><br>
> On 28/09/12 21:32, Jim Apto wrote:<br>
><br>
>> I'm relatively new to python, and was asked to program a lotka-volterra<br>
>> model (predator and prey relation) simulator.<br>
><br>
><br>
> No idea what that means in practice but commenting purely on the code provided...<br>
><br>
><br>
>> x represents prey population<br>
>> y represents predator population<br>
><br>
><br>
> so use names that say so, like preyPop and predatorPop<br>
> Its only a few extra letters typing but makes things much more readable.</p>
<p>As a mathematician I'd have to disagree with you there Alan. This model already has an established notation:<br>
 <a href="http://en.m.wikipedia.org/wiki/Lotka%E2%80%93Volterra_equation">http://en.m.wikipedia.org/wiki/Lotka%E2%80%93Volterra_equation</a></p>