QUESTION

Text
Image

1 - Write a code in python for the 8 puzzle problem by taking the following initial and final states


Initial State \begin{tabular}{|l|l|l|} \hline 1 & 2 & 3 \\ \hline 8 & & 4 \\ \hline 7 & 6 & 5 \\ \hline \end{tabular} Goal State \begin{tabular}{|l|l|l|} \hline 2 & 8 & 1 \\ \hline & 4 & 3 \\ \hline 7 & 6 & 5 \\ \hline \end{tabular}

Public Answer

RYKMVG The First Answerer