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.
See my second sentence above, I think it answers your question
sorry forgot to share
arr = ['lion', 'monkey', 'lizzard']
please try it also
I am curious if you get the same
This comment is hidden because it contains spoiler information about the solution
I checked this in my python concole
loaded this one first:
from operator import contains as check
then:
check("lizzard",arr)
but error:
TypeError: 'in ' requires string as left operand, not list
So this is only good for this kata?
the function "enumerate" is so cool!
Took me a few iterations to get this one liner.
i refused to admit that you guys got this solution the first time you went through
ou no .I used while True loop
wow, that's incredible
N useless method calls. => call it once before the loop.
there's always a function I don't know about
absolute respect, cause wow 😂😂😂
Fixed.
lol()
i wrote same solution, but tests havent passed.
Loading more items...