I agree that would be easier. I changed the code as seen below. Also the count is a variable I change so I can use this function to print the board for the players to see and so I can save the board in a string to be saved to a file for the players to come back later and resume their game. That line might be the problem, but I don't see how I'll try printing each line to see if I can find the problem.
def print_board(board, count): line = "" for row in range(0, 4): for col in range(0, 4): if(col == 0): line = line + " " if(col == 3 and row != 3): line = line + board[row][col]+ " \n------------------------\n" elif(col == 3): line = line + board[row][col]+ " " else: line = line + board[row][col] + " | " if(count > 0): print line else: return line