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.
any
with a generator instead of a list (just remove the brackets) would be both efficient (returning True once a triple-double is found) AND easy to read. (expect for the str thing which could be done before)This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Polished.
Yeah I would agree. I just iterated across each int as a string looking for 3 consecutive characters, and then 2 for the second.
Description updated, more and random tests added.
Not an issue (maybe suggestion).
Hi,
Description and test cases updated. Can you suggest a better tag?
Thanks!
I updated the description, added example test cases (and 100 random tests). I agree with you that this is a good exercise for Python and that is why I made some improvements to this kata.
If this resolves your issue, please mark is as resolved and vote so we can get this kata approved!
This comment is hidden because it contains spoiler information about the solution