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
but when you return 0 or other number python will return that's number not a boolean value ?
that's a method not a function
when you use if nums
python check if the list at least have one element and return true
if list is empty python return false so automatically the if block is not excuted
range(1,7)
the last number (stop=7) is not included in the range function so when you write 7 the iteration of the for loop will stop in the number 6 (since the 7 is not included)
so when you want to stop in 7 you should do 7+1
This comment is hidden because it contains spoiler information about the solution
god damn, man give me your brain