I have a problem where I need to randomize the value in the array, but I need to declare a1, a2 and a3 outside because a1, a2 and a3 need to be equal to 100. But when I do that, there cannot be randomize.. the looping keep execute the same value of random. 

```
a3=random.randint(0,1)
a2=random.randint(0,50)
a1=100-a2-a3
random_array =  np.array([np.array([ a2, a1, a3]) for _ in range(x)])

```

Here the result that I got:

```
[ 6 94  0]   
[ 6 94  0]  
[ 6 94  0]   
[ 6 94  0] 
[ 6 94  0]   
[ 6 94  0]  
[ 6 94  0]  
[ 6 94  0]   
[ 6 94  0]   

```