Commit 7241734a authored by Taddeüs Kroes's avatar Taddeüs Kroes

Made 31 slightly more efficient

parent f005f87a
...@@ -10,4 +10,4 @@ def pos(amt, coins): ...@@ -10,4 +10,4 @@ def pos(amt, coins):
return p return p
print pos(200, [1, 2, 5, 10, 20, 50, 100, 200]) print pos(200, [200, 100, 50, 20, 10, 5, 2, 1])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment