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.
Oooooooooooooooohhhhh i get it hahahah
Cool but very slow.
This comment is hidden because it contains spoiler information about the solution
Uhh... I can't tell if I'm stupid or not. I wanted to time this solution against mine. Imported Counter from collections... My Python doesn't see an
iteritems()
... What am I missing?!While this is horribly unreadable to basic b*$&@es like myself, it does appear to be at least 10 times faster that type conversions and a list comprehension... So that's cool...
TRUTH lolol
The prompt needs more examples.
This comment is hidden because it contains spoiler information about the solution
Weird, but pretty cool!
Approved!
lol plz pretend you didn't see this.
You already passed, closing then. Read this too: https://docs.codewars.com/training/troubleshooting/
Why is no one handling errors? Also, it seems to me that the tests should account for non-int inputs and where len(n) != 10, no?