In the programming asignment of the course 2 week 1, I can get the example’s same result
But the test fails saying:
I’ve been able to complete the rest of the assignment and the tests all pass but I can’t really get the reason for this error.
In the programming asignment of the course 2 week 1, I can get the example’s same result
But the test fails saying:
I’ve been able to complete the rest of the assignment and the tests all pass but I can’t really get the reason for this error.
Hi Kezrael,
The error indicates that you are trying to index into an (unordered) set that should probably be a list. This could be because you did not convert a list to a set where this was necessary, or because you used a set comprehension rather than a list comprehension somewhere in your code.