[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-19 09:57:46 +00:00
parent cbd20bfa5c
commit 7b27f18f9a

View File

@ -14,6 +14,7 @@ super_digit(9875987598759875), which can be reduced by summing its digits.
from __future__ import annotations
def super_digit(n_str: str, repetitions: int) -> int:
"""
Computes the super digit of a number formed by concatenating n_str repetitions times.
@ -56,4 +57,3 @@ if __name__ == "__main__":
# Call the super_digit function and print the result
result = super_digit(n_str, repetitions)
print(result)