. NumPy program to generate six random integers between 10 and 30. ((MSBTE Pratical Question))
Code:
import numpy as np
print("Six random integers between 10 and 30:")
x = np.random.randint(low=10, high=30, size=6)
print(x)
Output:
Code:
import numpy as np
print("Six random integers between 10 and 30:")
x = np.random.randint(low=10, high=30, size=6)
print(x)
Output:
Comments
Post a Comment