There was an error while loading. Please reload this page.
1 parent 4ae6e95 commit e61268bCopy full SHA for e61268b
1 file changed
recursions/recursive_digit_sum.py maths/recursive_digit_sum.pyrecursions/recursive_digit_sum.py renamed to maths/recursive_digit_sum.py
@@ -12,13 +12,11 @@
12
super_digit(9875987598759875), which can be reduced by summing its digits.
13
"""
14
15
-from __future__ import annotations
16
-
17
18
def super_digit(n_str: str, repetitions: int) -> int:
19
20
Computes the super digit of a number formed by concatenating
21
- n_str repetitions times.
+ n_str repeated times.
22
23
Parameters:
24
n_str (str): The string representation of the integer.
0 commit comments