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.
it does compare the third element too, but only if the 2 previous are already equal. And the task is...
so that's exactly what's asked for.
I seem to be missing something. Why does the min function compare only the first two values of your tuple, what makes it know that the last one (i) is not to be taken into account?
This comment is hidden because it contains spoiler information about the solution
I agree with most people here that this was poorly worded. I spent a good hour trying to get the remaining balance right. I knew there was something wrong with the percentage increments "every two months". It increases in the 2nd month AFTER the calculation to decrease the prices of the cars.