[Edu-sig] fracgen.py

Charles Cossé ccosse at gmail.com
Mon Dec 15 07:04:14 CET 2008

Hi All,

The recent discussion regarding fractions compelled me to dig-up a
fraction problem generating script I wrote a couple years ago and post
it in case anyone has use for it.  The purpose of the script is to
generate algebraic fraction problems.   It might also make a decent
programming assignment to come up with such an algorithm.  Just run it
and you'll get 100 good problems dumped to your screen.  Change the 2
parameters in the __main__ to adjust number generated and maximum
denominators to use.   I've never looked at Fraction.py, so no idea
how this compares or relates, but don't think there's any similarity.
Anyway, FWIW here it is (attached).

All the best to everyone,

AsymptopiaSoftware|Software at theLimit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fracgen.py
Type: text/x-python
Size: 3215 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20081214/5500522d/attachment-0001.py>

More information about the Edu-sig mailing list