On 06.02.2018 10:53, Alan Gauld via Tutor wrote:
You would have needed something like
fraction = Fraction(input('>'))
Assuming Fraction has a string based constructor which
I don't think it does. I really don't think Fraction
helps you here.
Oh, most certainly it has - though it may accept m
On 06/02/18 09:26, Alan Gauld via Tutor wrote:
> Forwarding to list, please always use Reply ALL or Reply LIst to send
> mail to the list.
>
> What input did you use and what output did you get?
>
> Input 239/30 ---> 7 1 29
> Input 415/93 ---> 4 2 6 7
>
> So far as I can tell your algorithm
Forwarding to list, please always use Reply ALL or Reply LIst to send
mail to the list.
-Original Message-
From: Alan Gauld via Tutor
To: tutor
Sent: Mon, Feb 5, 2018 4:50 am
Subject: Re: [Tutor] fractions from Fractions
On 05/02/18 04:11, Rex Florian via Tutor wrote:
> The problem i