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.
Note that
math.ceil()
already returns an integer... The cast made withint()
could be seen as redundant... Great solution by the way :PI'm deeply sorry, this "arr[len(arr] - 1]" was a typo... I have submitted the same code that caused the error and it worked flawlessly now... I therefre cannot quote the error, but it involved a syntax error in ine of the sample tests. From what I can recall, the error ocurred in the space between "garlic" and "naan" in the following line: "Test.assert_equals(feast("great blue heron", "garlic naan"), True)". It is not much help, but that's all I remember... Sorry for the incovenience.
This comment is hidden because it contains spoiler information about the solution
When trying to attemp the kata the simulation throws syntax errors involving the tests... I have tried doing it in Python.
@lilsweetcaligula
I believe it is already marked as an spolier. Thanks again!
Hi @lilsweetcaligula;
Thanks a lot for taking the time to look into my code. It really helps a lot and I really appreciate it. Thanks for encouraging us beginnners!! You rock!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hello, when I attempt the kata it keeps saying that a test crashed in the output window. My code passes some random tests, but it stops with that crash. What could I try to do?