week0/tictactoe/tictactoe.py
def actions(board):
    """
    Returns set of all possible actions (i, j) available on the board.
    """

    possible_moves = set()

    for row_index, row in enumerate(board):
        for column_index, item in enumerate(row):
            if item == None:
                possible_moves.add((row_index, column_index))
    
    return possible_moves

    Returns set of all possible actions (i, j) available on the board.
    
Returns set of all possible actions (i, j) available on the board.
Returns set of all possible actions ( i j ) available on the board .
def actions(board):
    possible_moves = set()
    for row_index, row in enumerate(board):
        for column_index, item in enumerate(row):
            if item == None:
                possible_moves.add((row_index, column_index))
    return possible_moves
def actions ( board ) : possible_moves = set ( ) for row_index , row in enumerate ( board ) : for column_index , item in enumerate ( row ) : if item == None : possible_moves . add ( ( row_index , column_index ) ) return possible_moves
Returns set of all possible actions (i, j) available on the board.
Returns set of all possible actions ( i j ) available on the board .
"""
    Returns set of all possible actions (i, j) available on the board.
    """
board