Q:

Write a NumPy program to create an array of the integers from 30 to 70

0

Write a NumPy program to create an array of the integers from 30 to 70.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

import numpy as np
array=np.arange(30,71)
print("Array of the integers from 30 to70")
print(array)

Sample Output:

Array of the integers from 30 to70
[30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70]

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now