Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
You didn't read the task completely. you have to sum up all the numbers between (a) and (b).
None of the tests are wrong.
This comment is hidden because it contains spoiler information about the solution
Would you please share your code for further reviews and problem discussions.
Maybe the problem is with the browser..
It should be 4 years.
we have to add (integer) value of percent to current population.
Its a common sense (humans can't be in fractions).
if u want you can review my code.
Thankyou
Trickerkaim
I think it will also no work for n = 2 .
Because you have not reset the variable value answer = 0 inside for loop of (i).
As a result for n = 2, i condition satisfies , j contition satisfies (Twice), for i = 2 , j = 0 answer = 1 + 3 which is equal to 4.
which is supposed to be equal to 3. please see and check you code once again.