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.
not a 5kyu kata. i spent around 3 days for a optimization 5kyu kata, eventually giving it up. this, i could solve in 1 min.
Flipping 'Gollum', just when I thought I passed, it made me rethink it all!
Thanks for the Kata!
This comment is hidden because it contains spoiler information about the solution
That means you didn't return anything. Try using
print()
statements to debug it.i passed all tests while attempting but one!
i am a total newbie to programming, so please help a fellow out.
i have spent my entire time on this kata for the past 2 days. and this is my first 5kyu
the error i am getting is in "should handle empty or spaces string
None should equal a"
i got the correct result for 2 spaces string on either side of an 'a'
Hi @ifeOSIFUYE, and
issue
is when the kata is faulty, not if you have problems with your code. You could instead post as aquestion
. You need to account for case-insensitivity in your code.No answer after a month, closing.
"Actual" -> 'a' occurs twice(A and a) since lower/upper should be ignored so expected IS 1
Two posts below yours, someone already asked a similar question.
This comment is hidden because it contains spoiler information about the solution