generate 12 random numbers python

#Array containing 12 random integers from 0 to 100
data = np.random.randint(100,size=(12))
print(data)

Here is what the above code is Doing:
1. np.random.randint(100,size=(12))
– np.random.randint(100) is a function that returns a random integer from 0 to 99
– size=(12) is a parameter that tells the function to return 12 random integers
– np.random.randint(100,size=(12)) returns an array of 12 random integers from 0 to 99
2. data = np.random.randint(100,size=(12))
– data is a variable that stores the array of 12 random integers from 0 to 99