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.
👏
best practice
So clever!
fstrings ftw
Thanks for pointing that out :)
This comment is hidden because it contains spoiler information about the solution
Great solution! Nice use of zip! I think it is going to be faster with map(int, str(key)).
Note that the initial height is set to upSpeed and height is compared to desiredHeight before the night falls.
This issue is still present. Hope it gets fixed.
If n is not an integer, we are told to return an empty value. So for python I suppose we should return None. However, right now the kata requires "None" instead of None. I hope this gets fixed.
This comment is hidden because it contains spoiler information about the solution
My solution was similar to this one, but it shows the value of experience with the extras which they used:
I'm glad I got close, but even gladder I could reference this answer to learn a little more.
Thanks.
"True if condition else False" is the same as "condition".
'0' is not a valid input. I hope this gets fixed.