Top-rated recipes tagged "training"http://code.activestate.com/recipes/tags/training/top/2012-05-11T03:49:48-07:00ActiveState Code RecipesLearning to calculate (mental arithmetic) (Python) 2012-05-11T03:49:48-07:00Thomas Lehmannhttp://code.activestate.com/recipes/users/4174477/http://code.activestate.com/recipes/578111-learning-to-calculate-mental-arithmetic/ <p style="color: grey"> Python recipe 578111 by <a href="/recipes/users/4174477/">Thomas Lehmann</a> (<a href="/recipes/tags/learning/">learning</a>, <a href="/recipes/tags/math/">math</a>, <a href="/recipes/tags/persistence/">persistence</a>, <a href="/recipes/tags/statistic/">statistic</a>, <a href="/recipes/tags/training/">training</a>). Revision 4. </p> <p><strong>What is it about?</strong></p> <ul> <li>Learning to use the basic math operation (+, -, *,/).</li> <li>Print out of statistics to show you where you are.</li> <li>Being able to define your own training sessions.</li> <li>Sessions with number of tasks or with a time limit.</li> </ul> <p><strong>What has changed?</strong></p> <ul> <li>Revision 2: Contains now the <strong>tasks numbering</strong>.</li> <li>Revision 2: You can see overall how long you didn't a training.</li> <li>Revision 2: You also can see per kind of session how long you didn't a training.</li> <li>Revision 3: <strong>Trainings parameter as kind of policy</strong> in a separate class also used as key for statistic.</li> <li>Revision 3: <strong>New session type</strong>: timeout (as many tasks as possible until timeout exceeded)</li> <li>Revision 3: I'm also sorry to say that this revision breaks compatibility with previously stored sessions.</li> <li>Revision 4: <strong>Integer division</strong> supported.</li> </ul>