2 ms·
> I'd be more confused about the curly brackets, I only know python and have never seen them used like that? Yeah, that’s C/C++/JavaScript/… syntax, it’s not v
by pansa2 2y ago
> I'd be more confused about the curly brackets, I only know python and have never seen them used like that?
Yeah, that’s C/C++/JavaScript/… syntax, it’s not valid Python.
> why not do `all(cell[0][0],cell[1][1]),cell[2][2])` if you want to have True when all 3 are True?
We want to test whether all three are the same, not whether they’re all True.