there are several times in the memory puzzle code that we need to iterate through every possible and coordinate on the board we'll use nested for loops to make sure that we get every combination note that the inner for loop (the for loop inside the other for loopwill go through all of its iterations before going to the next iteration of the outer for loop if we reverse the order of the for loopsthe same values will be printed but they will be printed in different order type the following code into the interactive shelland compare the order it prints values to the order in the previous nested for loop examplefor in [' '' '' ']for in [ ]print(xy source code of memory puzzle this source code can be downloaded from go ahead and first type in the entire program into idle' file editorsave it as memorypuzzle pyand run it if you get any error messageslook at the line number that is mentioned in the error email questions to the authoral@inventwithpython com