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 comment is hidden because it contains spoiler information about the solution
Yes! I had a feeling that it can be solved using list comprehension
Nice! i thought i was the only one who doesn't know coding :)
so its not just me who struggled. took me 100 minutes to solve it
this one is good
it's art
this is depressing
then the if function won't be necessary anyways. solution still works.
oh I see! thanks. It should be at least 5th kyu not 7th
The instructions are wrong.
It says that this has 3 glasses, findGlasses(["OO", "wallet", "O##O", "O----O"]) ➞ 3
while at the same time it says they need to have at least 1 dash between them, which is a contradiction.
So it counts hashtags and no dashes as valid glasses or what.
that's cheating :D