Not sure why this gets votes for best practice. Use of poorly named variable i. Uneceesary assignment to ne - another poorly named variable. prev actually represents population, also not necessary for assignment could just reuse p0(which should be renamed to current_population)
Not sure why this gets votes for best practice. Use of poorly named variable
i
. Uneceesary assignment tone
- another poorly named variable.prev
actually represents population, also not necessary for assignment could just reusep0
(which should be renamed tocurrent_population
)add example tests
Need some better example tests
exmple test in ruby uses Camel case rather than snake case for method name. Possible example test for "Pass" case.
ome example tests would be nice
example tests not set up properly
requested output in description is different to that required in the tests