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.
The point is there are infinite number of solutions.
Each pair x, y that satisfy equation is valid solution:
Example solutions:
x = 1, y = 0
x = 0, y = 0.5
Such system equations is called indeterminate. In that case you should return 'None'
.
FArekkusu is right, the log is matching the next test. The line announcing the test is just after the call to your function. Old translation of mine... I'll correct that (tho, the weirdest part in the story is that it bahaves the exact same way the last time you tried! ;) )
[0, 1, 2, 3, 2, 0] should equal [0, 1, 2, 3, 6, 5, 3, 2, 0]
<-- This is message about failed test #5((), (), (4, 4, 4, 4), (), (2, 2, 2, 2), (), ()) , 2
<-- These are inputs in test #6You mix up the messages, and wrongly assume what refers to which test. Anyway, everything is okay with the kata, the problem is in your solution.
errrr.... and? The "log" is the input you printed out from inside your code. Nothing weird, here.
Are you sure you printed the inputs correctly?
Okay, if you don't understand how math works, then I'm of no help to you. Good luck.
I bet you haven't studied linear algebra. What you have "found" is a parameter which can be any real number:
In terms of this kata, a system can be solved if each variable corresponds to some value you CAN find.