We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cecf43d commit 01d5856Copy full SHA for 01d5856
project_euler/problem_034/sol1.py
@@ -11,7 +11,7 @@
11
12
def sum_of_digit_factorial(n: int) -> int:
13
"""
14
- Returns the sum of the digits in n
+ Returns the sum of the factorial of digits in n
15
>>> sum_of_digit_factorial(15)
16
121
17
>>> sum_of_digit_factorial(0)
@@ -33,4 +33,4 @@ def solution() -> int:
33
34
35
if __name__ == "__main__":
36
- print(f"{solution()} = ")
+ print(f"{solution() = }")
0 commit comments