Help needed in Python Code

Revision en1, by TiredOfLife, 2019-09-28 21:34:02

Today I was making an automated program to solve 8 Puzzle and when I am running the same logic in c++ it is working fine but in python it is going to near about 6000-6500 recursions and the recursion is not even working properly and I have no idea why ? Please help !

Note
Python Code
C++ Code
Note2

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English TiredOfLife 2019-09-28 21:34:02 5292 Initial revision (published)