So I have a simple example:
import fractions
f = fractions.Fraction(6, 12)
and I don't want f to become 1/2. I want it to remain 6/12. Is there a way to do this?
So I have a simple example:
import fractions
f = fractions.Fraction(6, 12)
and I don't want f to become 1/2. I want it to remain 6/12. Is there a way to do this?
Copyright © 2021 Jogjafile Inc.
Found a solution here: