[Tutor] A better way for greatest common divisor

Richard D. Moores rdmoores at gmail.com
Fri Jul 30 20:57:14 CEST 2010


On Thu, Jul 29, 2010 at 18:47, David Hutto <smokefloat at gmail.com> wrote:
> This is basically to get feedback, on a better way to show the
> greatest common divisor in fraction, in order to reduce it fully, than
> the one I've come up with. I'm sure there are better ways, so if you
> have simpler method, or critique of what I've done, let me know.

I've actually tried to run your script. If it works for you, then I'm
having a problem getting the indents correct. Could you put it up on
<http://python.pastebin.com> or somewhere so it could be copied and
pasted accurately?

Dick Moores


More information about the Tutor mailing list