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.
You wrong, because string VOWELS is of constant length (5) and does not depend on an input. So it will be O(n*const) = O(n).
Sorry, but this is not a solution section? People can read it if they complete the task or want to see the solutions
This comment is hidden because it contains spoiler information about the solution
better to do "type(x) is not str" # more readable
It seems that you missed one argument in your tests
Traceback (most recent call last):
File "main.py", line 26, in
Test.assert_equals(prefill(0), p(0), "failed with number 0")
TypeError: prefill() missing 1 required positional argument: 'v'