This is a 5+ kyu for sure. Try the sister kata https://www.codewars.com/kata/539a0e4d85e3425cb0000a88/ if you haven't done it. They look similar but are different; solving them will definitely make people learn more.
lambda calculus :)
its bad practice, and then you cant use pythons function anymore.
This comment is hidden because it contains spoiler information about the solution
p0 * percent - you're decreasing p0 instead of increasing it.
p0 * percent
p0
Loading collection data...
This is a 5+ kyu for sure.
Try the sister kata https://www.codewars.com/kata/539a0e4d85e3425cb0000a88/ if you haven't done it. They look similar but are different; solving them will definitely make people learn more.
lambda calculus :)
its bad practice, and then you cant use pythons function anymore.
This comment is hidden because it contains spoiler information about the solution
p0 * percent
- you're decreasingp0
instead of increasing it.