def test_cell(s, row, col):
    """
    Given a Sudoku puzzle s, row, and column number, return a list which represents
    the valid numbers that can go in that cell. 0 = possible, 1 = not possible
    """
    used = [0] * 10
    used[0] = 1
    block_row = row // 3
    block_col = col // 3

    # Row and Column
    for m in range(9):
        used[s[m][col]] = 1
        used[s[row][m]] = 1

    # Square
    for m in range(3):
        for n in range(3):
            used[s[m + block_row * 3][n + block_col * 3]] = 1

    return used