Question: Given the following coding import numpy as np arr= np. array([[2,2],[1,3],[2,3],[7,4]]) i. Write a program that can find the dimension of the array Write
Given the following coding import numpy as np arr= np. array([[2,2],[1,3],[2,3],[7,4]]) i. Write a program that can find the dimension of the array Write a program that can find the indexes where the value is 2 Task 5 Write a program to compute the distance between two points (Pythagorean Theorem) by prompting the user to key in coordinator for P1 and P2 Hint: Need to define the null array - User input must in integer format Discussion Write a short report to discuss your answers. Your report should contain a brief introduction, some explanation of the introduction to NumPy module, and the results you obtain at every simulation stage.
Step by Step Solution
3.45 Rating (164 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
