Skip to content

Commit

Permalink
Fix additional space
Browse files Browse the repository at this point in the history
  • Loading branch information
MP3Martin committed May 19, 2022
1 parent 402a635 commit 6b65cfd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions real_division_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,8 @@ def firstRemainder(i):
if str(len(str(one))) != "1":
additionalSpaces = additionalSpaces + " "

print(howManyTimesDoesItFit(two, int(str(one)[0])))
if howManyTimesDoesItFit(two, int(str(one)[0])) != 0:
# additionalSpaces = additionalSpaces[:-1]
print("yea")
additionalSpaces = additionalSpaces[:-1]

for line in lines:
out = f"{out}\n{additionalSpaces}{line}"
Expand Down

0 comments on commit 6b65cfd

Please sign in to comment.