Question: Write a script that performs the following ( note: if operation cannot be done explain the reason ) : a ) Import numpy and use

Write a script that performs the following (note: if operation cannot be done explain the
reason):
a) Import numpy and use a random.randint() function to generate an array A of
size 3x4 of integer numbers from 1 to 50.
b) Change the last row of array A to [1,2,3,4]
c) Find the sum of all elements in A
d) Find the minimum and maximum elements of A.
e) Delete the first row and the first column of A
f) Delete the element located in first row and first column.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!