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.
What does this mean?
This comment is hidden because it contains spoiler information about the solution
Oops. I did originally mark as spoiler but then it unchecked when I edited.
I did wonder though, given that this is in the solutions section, wouldn't it only be seen by people who have already solved/given up?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I'm finding some confusion about trailing spaces. When attempting the tests, if I don't remove trailing spaces I get
If I trim white spaces
Very efficient solution!
This is really nice code. Just one question...for the seconds, why is it necessary to do
(seconds%3600)%60
? Surelyseconds%60
would be sufficient?Extra marks for squeezing all the air out of this code
What are the first two lines doing here? It seems like the customers <--> prospects join is just done on the prospect name containing both the first name and last name so I don't see what you're doing with the first two lines?
Would someone be able to explain how this works? I don't see how this accounts for
[1,[1,1]] not same as [2,[2]]
. Only seems to be checking if each part of the array is in itself an array, doesn't look at size?New to python...I'm getting the right answer but there is a gap between each digit i.e. 1 1 0 1 where it should be 1101. I'm using print(). How do I remove the blanks?
This seems to be the highest rated solution which actually passes the requirements laid out in the question (due to the tests not being stringent enough). I also really like how elegantly simple this solution is. I wrote something which works but is much more complicated.
I passed but in the output of the sample tests I can't actually see the number of years. I was expecting to be able to see my results (java)
The tax is a percentage OF the interest
Loading more items...