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.
keyboards 💀
no it doesn't
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Most poeple voted it as
8kyu
, but it is kinda arbitrary and can't be changed now.The kata score cannot be changed after publication
The function can only return one thing; once it gets to a return statement, the function is done being executed.
Hi!
Can you please tell me why elif is not needed here? I've seen it a lot in tasks like this when I learned how to code im ny school
There's multiple solutions, you have to return 1 of them. See https://www.codewars.com/kata/54eb33e5bc1a25440d000891/discuss#62eec05af47ee97b5fa00c03.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Regexes can do that. Read the documentation about regexes in your languages.