Question: Using Python. Use a while loop in a script to add in ones (1's) to a Matrix x of size [50 x 501, in a

Using Python.
Use a while loop in a script to add in ones (1's) to a Matrix x of size [50 x 501, in a random way until the sum of the matrix is equal to 25. . At the start of this program the Matrix is composed of only zeros. Display the matrix each time if you are curious to see its progression
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
