pyupgrade --py37-plus **/*.py (#1654)

* pyupgrade --py37-plus **/*.py

* fixup! Format Python code with psf/black push
This commit is contained in:
Christian Clauss
2020-01-03 15:25:36 +01:00
committed by John Law
parent 34c808b375
commit 28419cf839
77 changed files with 71 additions and 128 deletions

View File

@ -1 +0,0 @@

View File

@ -43,7 +43,7 @@ def solve(digit_len: int) -> str:
while den <= 99:
if (num != den) and (num % 10 == den // 10) and (den % 10 != 0):
if isDigitCancelling(num, den):
solutions.append("{}/{}".format(num, den))
solutions.append(f"{num}/{den}")
den += 1
num += 1
den = 10