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.
I can't use Decimal. Right? This is not written in the instructions.
I don't understand. Why in first test case expected hex data in second int?
It's ok now. My issue was in sorted function on the final dict. At first time misunderstood the task, and after i forgot about this detail. But it working only in Python 3.6. May be in this version have another way work with set. Who know about?
'(B : 364) - (D : 60) - (R : 225) - (X : 0)' should equal '(B : 364) - (R : 225) - (D : 60) - (X : 0)'. If i get a set{} stocklist like M = {"A", "B", "C", "W"} - it's not posible return equal order, because in python set is container consisting of unordered elements. Who knows what to do?
Thank you! Now it`s working!)
Your function should return the result, not print it.
This comment is hidden because it contains spoiler information about the solution