Category "multidimensional-array"

I'm having trouble putting who wins in my game

So everything in my code works so far, but I don't know why the checkWinner function doesn't work. In my Bool checkWinner function, I used bool. When I call th

how to get all column for 2-d array except first column?

a=[['1','2','3'], ['4','5','6'], ['7','8','9']] for example the 2-d array like this how to get all the column except first one without using any library?