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.
correct! ;)
I based my assumption in the expected results message ;)
...or using
pop
,append
,extend
(the last two are not probable usages here, but...) on one of the lists (which should actually be tuples... EDIT: that's the perfect indication: if one single thing you do with the input couldn't be done with tuples, you're mutating the inputs)If you mutate the input those cases change from those values to these (an additional of 150 points added to whoever catched the snitch):
Mutating the input (in this case) means you're doing
gryffindor[0] = ...
andslytherin[0] = ...
in your code (or+=
).Because the control function uses the mutated values as input. I've solved it without mutating the input and the tests passed. Could you try doing that? Or just wait for the issue to be resolved.
2 posts below, someone reported an issue about input mutation in Python, are you doing that?