Question: a ) Create a 2 - dimensional NumPy ndarray filled with 1 0 0 random numbers. Ensure thatyour array has 2 0 rows and 5

a) Create a 2-dimensional NumPy ndarray filled with 100 random numbers. Ensure thatyour array has 20 rows and 5 columns.
[5 marks]
b)
i. Compute the sum total of all entries in the first and last rows.
ii. Compute the sum total of all entries in the second and fourth columns.

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!