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.
done
Thank you for the clear, robust definition of consonants in this kata. It's a true relief to see this common-sense knowledge being passed on.
Both those tests are in the kata's description, the expected answer in both is 1 and it's counting the only consonant there,
d
, where do you see thea
being counted?There should be fixed tests in all languages where all chars are consonants. There are some solutions that sometimes pass when they shouldn't.
You're wrong there, aeiou are vocals, not consonants and are never treated as consonants. See the examples in the description again.
Would someone tell me why some times we deal with aeuoi as consonants and we count them and some times no, like the word add and dad
I can't understand what is the problem asking for because it some time deals with aeoui as consonants and some times no
OP solved it , closing
Approved
python new test framework
he already changed the description
bro, it is
It's because it's a test case that includes punctuation and spaces. Think this should be included in the description tbh.
Because it's not right. Print the input and see why by yourself: https://docs.codewars.com/training/troubleshooting/#print-input You could have read the post below yours too, he/she also failed the same test.
This comment is hidden because it contains spoiler information about the solution
Loading more items...