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).
You have to handle this yourself, not an issue.
Your post here was visible in the homepage.
Sorry, but this is not a solution section? People can read it if they complete the task or want to see the solutions
Please do not post solutions in discourse. And if you must, then at least mark them with a spoiler. (Even people who have not solved the kata can see the comments here, just not the solution itself)
This comment is hidden because it contains spoiler information about the solution
better to do "type(x) is not str" # more readable
Nice.... overlooked the parentheses c:
Nice.
对作者说的话
我说小伙子你的KATA不讲武德,正蹬,鞭腿,训练有素,有备而来
这个TEST不讲武德,然后上来就是TypeError,缺少v,在26行
我全部写完了啊 写完了啊 写完了就是 测试+提交代码
你 来 骗 来 偷 袭
我劝你耗子尾汁
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'