Question: IN PYTHON: 1. (5 pts) Write a function matrix print(A) that prints the elements of A in matrix format. You may assume that A is
IN PYTHON:

1. (5 pts) Write a function matrix print(A) that prints the elements of A in matrix format. You may assume that A is a 2D list containing only Os and Is. This function should only print (not return) the elements. Example: Let Then calling matrix print(R) should display o o 0 1 0 11 0 o o 0 1 o o 1 0 2. (6 pts) Write a function matrix_add boolean(A, B) that adds the two matrices A and B using Boolean arithmetic and returns the result. You may assume that A and B are both 2D lists containing only Os and 1s, and they are of compatible dimensions for addition. Example: Let Then calling matrix_add boolean(A, B) should return 1, 11, [1, 01
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
