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 basic
bruuuuhhh!! like 1 hour??????
blud just violated this man lmfao
AN HOUR???
good answe thoo
why would you defin your own haystack list?
No, you didn't. Your code had multiple major issues.
For some reason you removed the
def
from the beginning of the declaration, this is basic day 1 Python. Also there were missing colons in two places that are critical to syntax, otherwise the solution set up crashes. Finally, even if all that was right, you were printing the output instead of returning a value.Otherwise, yeah, it was exactly the same.
i wrote the same thing and it did not accept my answer!!!!!!!!!!!!
Took me like more than an hour to complete my code using two functions and your answer makes me crazy of how easy was to do it. Great job.
my first try but better
Nice!
Great minds think alike... :)
Thank you for this.This is what I wanted to go for, but didn't know the syntax.
This comment is hidden because it contains spoiler information about the solution