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.
Approved
python new test framework is required. updated in this fork
0! == 1!
, so it's not clear which we should return forn == 1
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/190.
Please join the discussion to help us identify duplicate kata and retire them.
Thanks. All OK now.
Select it in the trainer, it works fine.
Hi @evgeniyakarna and welcome to Codewars!
I tested your solution and noticed that the errors seem to occur when letter 'Z' is in original string.
Because your code takes 'Z' and turns it to 'a', this is the error I think - remember, "Makes any vowels capital" so it should take 'Z' to 'A'.
For a useful general piece of advice for your Codewars journey, on this Troubleshooting page it recommends to "Print the input" when you have some problems with your code. In Python this means:
Now, in Codewars console you can see which input (here,
s
) causes your code to fail - that's how I was able to debug your solution. This is useful technique that will help in 99% of katas if you need to debug.Can someone help - I test some cases in PyCharm and it's working but here it's not. Like
'o9Ztdd51Hrgm0wxYoBBZtLhlnr7j' should be equal to 'p9AUEE51Ishn0xyzpccAUmImOs7k'. But here is a fail with one letter in lower space. I don't get it)
Approved
I've never thought that 'Y' is not a vowel!!!!
In my native language(Russian) there is no 'y' at all. Well technically there is but it is more like 'u' in terms of usage
Some language did read 'y' as a vowel
Approved :)
approved
Loading more items...