3 ms·
> wouldn't any(q[:3]) (the 4th sentence) return true even if 2 or 3 of the above were correct? Yes it would ! > If I understand correctly, it should be true i
by lovasoa 7y ago
> wouldn't any(q[:3]) (the 4th sentence) return true even if 2 or 3 of the above were correct?
Yes it would !
> If I understand correctly, it should be true if exactly one of the above is correct, not at least one.
In logic, "one proposition is correct" is true even if two propositions are correct.