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.
Nice mathy kata, perfect.
Approved
python new test framework is required. updated in this fork
This should not pass.
atleast python: no random tests
python new test framework is required. updated in this fork
yeah I used .isnumeric lol
Thank you so much @stok
Bc creatin new array is more time and resource consuming. Using regex is BP for this case. My advise for everyone: learn what is regix (import re) and how to use it
Yes!!!
This comment is hidden because it contains spoiler information about the solution
Because you are genetaring a list where the elements are repeating once, in this case it is only one element. WIth [0] you are returning the first (and only) element in the list.
While this does pass the tests, if an array is used with no stray value, this will error with an IndexError.
The new testing framework should be used.
Loading more items...