Question: Python I want to make a function that checks if the given 2D array matches with the goal array Goal: [1,2,3] [4,5,6] [7,8,0] Example of
Python I want to make a function that checks if the given 2D array matches with the goal array Goal: [1,2,3] [4,5,6] [7,8,0] Example of given 2D array: [1,4,3] [2,5,7] [0,8,6] For every number in the given 2D array that does not match with the goal, count increases by 1. Therefore, with the example given, it should print out 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
