[Tutor] A better way for greatest common divisor

David Hutto smokefloat at gmail.com
Sat Jul 31 02:43:57 CEST 2010


On Fri, Jul 30, 2010 at 2:57 PM, Richard D. Moores <rdmoores at gmail.com> wrote:
> 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
>

This is the url:
http://python.pastebin.com/fP3jjqGj


More information about the Tutor mailing list