mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-27 17:06:44 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
d412a6e612
commit
fe495e2430
@ -35,7 +35,6 @@ def super_digit(n_str: str, repetitions: int) -> int:
|
|||||||
9
|
9
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
# Calculate the initial sum of the digits in n_str
|
# Calculate the initial sum of the digits in n_str
|
||||||
digit_sum = sum(int(digit) for digit in n_str)
|
digit_sum = sum(int(digit) for digit in n_str)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user