This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def isWin(board): | |
""" | |
GIven a board checks if it is in a winning state. | |
Arguments: | |
board: a list containing X,O or -. | |
Return Value: | |
True if board in winning state. Else False | |
""" |