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.
My one-liner managed to be just a smidge shorter though neither are really good practices.
I know this works fine since Python uses lexicographical ordering but i think
would be "cleaner".
Just give 'wolf' in a if condition and check it with last element.Looping is not necessary for this problem.
Please once again read the kata description properly and then proceed.
Hi Nanthakumar, thank you very much! That is indeed the error that I'm getting.
How/where would I add the wolf in the code? Where would I put .append?
Thank you again!
Josh
It seems that wolf list is empty, so you can't use wolf[-1] it will result in Indexout of range or print nothing.
This comment is hidden because it contains spoiler information about the solution
мау
Бяк
O_o
meow
what's up
2 строки!!!!!!(
мяу
мау
:)
Loading more items...