Please use a spoiler flag when you post code, so that users who didn´t solve the kata cannot see it; I put the flag on for you this time. Also use markdown tags to format your code or it's not usable. Refer to the documentation about this and more: https://docs.codewars.com/training/troubleshooting/#post-discourse
im a beginner but my only guess is because you are comparing '161' with '11*11'.. Im not an expert but that is my guess since i struggled on this one for a while, good luck.
Please use a spoiler flag when you post code, so that users who didn´t solve the kata cannot see it; I put the flag on for you this time. Also use markdown tags to format your code or it's not usable. Refer to the documentation about this and more: https://docs.codewars.com/training/troubleshooting/#post-discourse
Because with sets you lose how many of each kind you have.
im a beginner but my only guess is because you are comparing '161' with '11*11'.. Im not an expert but that is my guess since i struggled on this one for a while, good luck.
This comment is hidden because it contains spoiler information about the solution
Your code should work for capital letters too.
Your code only works for text with 3 words, and nothing else. You can have a look at sample tests on bottom right.
You shouldn't call the function yourself, the tests will do that for you.
Useful article: https://docs.codewars.com/training/troubleshooting