write a python program that checks the upper pattern is in lowerpattern and returns the coordinates of the top left corner cell
For example, in above pattern, it should return 1,2
x is first one ,y is the second one
0 1 2 3 4 0 |1|1|1|1| 1 11|1|1|1 2 |1|1 0 1|1 |1|10|1|1 | 1 0 0 0 | 1 [[1 0 1] [1 0 1] [0 0 0]] [[1111 1] [1111 1] [1 1 0 1 1] Γ1 1 0 1 17 Γ1 0 0 0 171 Show transcribed image text 0 1 2 3 4 0 |1|1|1|1| 1 11|1|1|1 2 |1|1 0 1|1 |1|10|1|1 | 1 0 0 0 | 1
[[1 0 1] [1 0 1] [0 0 0]] [[1111 1] [1111 1] [1 1 0 1 1] Γ1 1 0 1 17 Γ1 0 0 0 171
Expert Answer
Answer to write a python program that checks the upper pattern is in lower pattern and returns the coordinates of the top left cor…