I am a beginner and have a confusion when I am learning python. If I have the following python code:

```
import numpy as np
X = np.array([1,0,0])
Y = X
X[0] = 2
print Y

```

Y will be shown to be `array([2, 0, 0])`

However, if I do the following:

```
import numpy as np
X = np.array([1,0,0])
Y = X
X = 2*X
print Y

```

`Y` is still `array([1,0,0])`

What is going on?