Skip to content

Commit 416b43c

Browse files
authored
Update sol1.py
1 parent a53236a commit 416b43c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project_euler/problem_97/sol1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ def compute_digits(n: int) -> str:
2525
''
2626
"""
2727
if n < 0 or not isinstance(n, int):
28-
return ''
28+
return ""
2929
MODULUS = 10 ** n
3030
NUMBER = 28433 * (pow(2, 7830457, MODULUS) + 1)
3131
return str(NUMBER % MODULUS)
3232

3333

3434
if __name__ == "__main__":
3535
from doctest import testmod
36-
36+
3737
testmod()
3838
print(f"{compute_digits(10)}")

0 commit comments

Comments
 (0)