remove tabs
This commit is contained in:
parent
08f493ae79
commit
80bdd86297
|
@ -34,11 +34,12 @@ class Fraction(object):
|
|||
self._num = 1
|
||||
self._denom = 1
|
||||
steps += [str(self)]
|
||||
elif gcd_ != 1:
|
||||
|
||||
elif gcd_ != 1:
|
||||
self._num, self._denom = self._num // gcd_ , self._denom // gcd_
|
||||
steps += ["( {reste1} * {gcd} ) / ( {reste2} * {gcd} )".format(reste1 = self._num, reste2 = self._denom, gcd = gcd_)]
|
||||
steps += [str(self)]
|
||||
|
||||
return steps
|
||||
|
||||
def __str__(self):
|
||||
|
|
Loading…
Reference in New Issue