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.
Python lets you perform multiplication on lists! That's what's being demonstrated here.
[0] * 5
equals[0, 0, 0, 0, 0]
[1, 2, 3] * 3
equals[1, 2, 3, 1, 2, 3, 1, 2, 3]
([very]*2) + [big]
equals[very, very, big]
i had the same code :(, but double added population & did not see it until i gave up on my pride
It creates a list with 0s in it: [0]*5 would create [0, 0, 0, 0, 0]
This comment is hidden because it contains spoiler information about the solution
wow! this hurt my feelings, i cannot begin to comprehend whats going on. Nice Job!
Why didnt i think of this :'(. New to the coding thing. Any tips would be helpful! or how to drill coding into my brain