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.
I realized that I included
for x in range(0,len(numbers)
within the 1-line return.But still why?
Great solution!
I attempted the same 1-lines return but within (CODE) Parenthesis.
It didn't take.
Can you please explain to me why it works without encapsulating in parenthesis?
I am curious.
Thankyou
how evaluation go once for this ?
Huh thank you for that I also made his mistake
Funny kata all i had to do was press backspace three times.
Actually, there is no unnecessary computation here. min(numbers) is simply repeated both in the if and else conditions. Only one of them gets executed, though.