Skip to content

Fix typos in Project Euler problem 034 solution 1 #4748

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions project_euler/problem_034/sol1.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

def sum_of_digit_factorial(n: int) -> int:
"""
Returns the sum of the digits in n
Returns the sum of the factorial of digits in n
>>> sum_of_digit_factorial(15)
121
>>> sum_of_digit_factorial(0)
Expand All @@ -33,4 +33,4 @@ def solution() -> int:


if __name__ == "__main__":
print(f"{solution()} = ")
print(f"{solution() = }")