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.
You can't stop noobs from not knowing the existence of default arguments at all and then complain a kata can't be completed because of varargs!
I couldn't agree more!
Got here again "by chance" (or not)... And I'm one more time perfectly AMAZED to see people downvoting what is actually a constructive comment that is telling something about the problem without throwing the solution...
I love people more and more... ;p
Stated in the description:
init
is defined as__init__(self, wires)
. 2 arguments. So... what is this message telling you? If you do not understand what's going on, you might need to learn a bit more about classes/objects in python.In python 2.7.6 i get the error:
Code works fine in sample, but fails due to the test case, appears to call the class without a string of wires.