remove tabs

This commit is contained in:
Lafrite 2013-08-08 01:12:11 +02:00
parent 08f493ae79
commit 80bdd86297
4 changed files with 414 additions and 413 deletions

View File

@ -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):