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 see it as an element of the array, a string.... not an array it self
same error from me
They are different, the first one are three elements, same level, no nesting there. The other has one element and two nested elements in the first case and two nested elements and one element, not the same structure.
mmmh... I guess I really needed those fucking holidays... x/
thx
Yes I fixed it, but
Everything's working correctly
could beEverything was working correctly
orEverything is working correctly
, I think FArekkusu meant the latter (and after I fixed it).@Blind4Basics: I removed your import because I already wrote it inside the function that generates the random tests and it was not needed twice.
no, nothing was working correctly: the import was lacking for python 3.6 in the test cases part.
Everything's working correctly, reset the trainer if you're having any issues.
Try again, maybe you'll have to click reset.
It seems you finally solved it, closing the Question.
I already told you that
==
doesn't check data type, so0 == False - True
is wrong. They're not the same. Find a way to check both value and data type.It's not a wrong test, you're not validating data type there.
Those are not the values used in the tests your code is failing:
You're using
==
that doesn't compare type.About formatting, it's because you didn't use the markdown formatting, check the link I posted before.
Read how to use markdown formatting, otherwise your code here loses indentation and it's very hard to read in Python.
About your problem, read this
No, it's not exactly the same data. And both inputs that look similar, expects
False
, the log appears above the test result.Loading more items...