[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:44:17 +00:00
parent 849e0b38d5
commit 545d4aaa64

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.
@ -45,7 +46,8 @@ def super_digit(n_str: str, repetitions: int) -> int:
return total_sum
if __name__ == '__main__':
if __name__ == "__main__":
# Read input and split it into n_str and repetitions
first_multiple_input = input().rstrip().split()