MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / solution

Function solution

project_euler/problem_030/sol1.py:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33
34
35def solution() -> int:
36 return sum(
37 number
38 for number in range(1000, 1000000)
39 if number == digits_fifth_powers_sum(number)
40 )
41
42
43if __name__ == "__main__":

Callers 1

sol1.pyFile · 0.70

Calls 1

digits_fifth_powers_sumFunction · 0.85

Tested by

no test coverage detected