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.
😂😂😂
This is the same as the top-rated solution, just more condensed ("golfed")
Start reading here:
https://docs.python.org/3/library/re.html#re.sub
your current code passes the kata
(when you are not sure, ask a
question
, do not open anissue
: you have to provide evidence for anissue
;-) )The input size is constant for this problem and therefore Big O analysis is not appropriate. Also, premature optimisation sucks.
Solution-related issue. Maybe you've accidentally removed a line or misspelled an attribute name.