[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-18 17:38:29 +00:00
parent 3cf6be0b7b
commit 4cde2d498b

View File

@ -14,6 +14,7 @@ super_digit(9875987598759875), which can be reduced by summing its digits.
from __future__ import annotations
def superDigit(n: str, k: int) -> int:
"""
Computes the super digit of a number formed by concatenating n k times.
@ -45,7 +46,8 @@ def superDigit(n: str, k: int) -> int:
return total_sum
if __name__ == '__main__':
if __name__ == "__main__":
# Read input and split it into n and k
first_multiple_input = input().rstrip().split()