Question: need help on creating a code in python using an np.array to make an array of square roots of all the numbers from 1 to
need help on creating a code in python using an np.array to make an array of square roots of all the numbers from 1 to 100. The first few should be 1.0, 1.414..., 1.732. Use the np.sqrt function and arrays, not a for or while loop.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
