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.
Yes mine failed with price = 54 discount = 5 holiday_cost = 8856
This will FAIL in some cases, i did it like this, but division in python using // is not always precise, use with care
PD: I was getting an error but attempt it until a random case didn´t break my code :-)
my boh
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank you)
999
needs to be padded up with zeros to have a total of 4 digits (the "length" of the original number), i.e.,999
->9990
.And so
9990
-0999
=>8991
When i tried to attempt, i got number 2111.
It's:
2111 - 1112 = 999
999 - 999 = 0
-> -1 ,
but the correct answer is 6.
Help, pls.
It happens on second test.