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.
Wow, yeah I didn't even think about using return instead of print.. Thank you so much, and also, I will definitely read up on the formatting of my code so it can be more readable. I was using Python, sorry about that, I know that now also to put in the langauge I'm using! Thank you!
Your code gives me the error
None should equal 'es'
. Looks like you just need to return your valuess
andodd
, otherwise your solution should be perfectly validRemeber to use backticks for ouptutting code in your comments (see here: https://github.com/Codewars/codewars.com/wiki/Codewars-Editor-formatting). Also next time let us know what language your working with so it'll be easier to debug :)
Happy Coding!
There was a server outage which is why your code was not running. Its fixed now.
It was a server issue.
To format your code you can use backtick fences:
This comment is hidden because it contains spoiler information about the solution