Computer Science, asked by keoichishero123, 9 months ago

Create an ndarray with values ranging from 10 to 49 each spaced with a difference of 3.

Answers

Answered by StaceeLichtenstein
4

Following are the statement in python language

ndarray = np.arrange(10, 49, 3)

print(ndarray)

Explanation:

Following are the description of statements

  • The main objective of np.arrange function is that It distributed the variables equally inside a time period. This approach is very much similar to the python built in the scope method for the integer arguments.
  • In the np.arrange(10, 49, 3) we set the range from 10 it executed the range up to the 49 spaced with the difference of the  3.It means it prints the output 10,13,16,19,22,25,28,31,34,37,40,43,46.

Learn More :

  • brainly.com/question/12973433
Similar questions