Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ two_pound
Function
two_pound
project_euler/problem_31/sol1.py:49–50 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
47
48
49
def
two_pound(x):
50
return
0
if
x < 0
else
two_pound(x - 200) + one_pound(x)
51
52
53
print(two_pound(200))
Callers
1
sol1.py
File · 0.85
Calls
1
one_pound
Function · 0.85
Tested by
no test coverage detected