*I am trying to find code to check if four or more 1's, or 2's are next to each other in the 2d list and then return my win function as true

Here is the code below

Code:
`
# Connect Four

# 2d list

    # Connect Four
    
    # 2d list
    numRows = 6
    numCols = 7
    board = [[0, 0, 0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0, 0, 0],
...