IN PYTHON ONLY !! Design (pseudocode) andimplement (source code) a program (name it Occurrences) todetermine whether two two-dimensional arrays are equivalent or not.Two arrays are equivalent if they contain the same values in anyorder. The program main method defines two two-dimensional array ofsize 3-by-3 of type integer, and prompts the user to enter integervalues to initialize the arrays.
– The main method calls method isEquivalent()that takes twotwo-dimensional arrays of integer and returns true (boolean value)if the arrays contain the same values in any order, otherwise itreturns false.
– Hint: use a sort method from Lab 14 in developing the solutionfor this problem.
–
OR
OR