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.
Thanks for the Kata, finally got it. I didn't realize that we are allowed to alter the function definitions here at Codewars. I also think that this was a bit tough for 7 kyu, needed pen and paper + needed to learn new ways of writing python for this one, usually 7 kyu are pretty much tutorial stuff.
This comment is hidden because it contains spoiler information about the solution
Am I correct in assuming that the code needs to start
"def sum_corners(n):return "
leaving just 9 characters for the code or the formula?
For python the #1 solution uses map() but it doesn't return an array as was asked... (?)
This comment is hidden because it contains spoiler information about the solution
"yz" is not a palindrome. The string contains both "yz" and "zy", but they are not palindromes. "yzy" and "zyz" would be palindromes. (https://en.wikipedia.org/wiki/Palindrome)