I have the same error at 6th test
"Invalid value types (boolean): True should equal False".
I do not use any bool() functions, only return True or False.
What can it be?
I think I figured out whats the issue.
There is probably a True instead of a 1 in the grid. If you use something like isinstance(x, int) a bool will return True because bool is a subclass of int.
I have the same error at 6th test
"Invalid value types (boolean): True should equal False".
I do not use any bool() functions, only return True or False.
What can it be?
This comment is hidden because it contains spoiler information about the solution
I think I figured out whats the issue.
There is probably a True instead of a 1 in the grid. If you use something like isinstance(x, int) a bool will return True because bool is a subclass of int.
Unfortunatly I still don't find the error...
If you use isinstance:
isinstance returns you True if you compare "True" or "False" with int.
lst = [True]
isinstance(lst[0], int) == True
Hello,
I have the same error. All the other tests are valid. Did you find, what causes the error?