def print_board(board):
    """
    Input: takes a xo board as a list from values of a 3x3 board
    Returns: a tic-tac-toe board in a visual manner 
    """
    return print("\n{} | {} | {}\n--+---+--\n{} | {} | {}\n--+---+--\n{} | {} | {}\n"
    .format(
        board[1],board[2],board[3],board[4],
        board[5],board[6],board[7],
        board[8],board[9],))