program detects empty nested list as containing "X"s and "Y"s
ShamrockKing (0)

look at the code pres run then put winning_move(board) into the console and please help explain why that returns as true
im working on it for school in my computer science class and its the only error in my code the problem is that when the nested list board is empty this code detects it as being a win from the X player or Y player (this is a tic tac toe code to detect if someone won)

You are viewing a single comment. View All
katyadee (1157)

Hey there, would you mind adding a bit more background to your post?

katyadee (1157)

@ShamrockKing Please add this to the post body/title =)