as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
write a function to design a chessboard.
user
def design_chessboard(size):
    """
    this function creates a chessboard of the specified size
    """
    board = []
    # create the board with alternating colors
    for i in range(size):
        row = []
        for j in range(size):
            if (i+j) % 2 == 0:
                row.append("blk")
            else:
                row.append("wht")
        board.append(row)
    return board
assistant