If the input is zero I want to make an array which looks like this:

```
[1,0,0,0,0,0,0,0,0,0]

```

and if the input is 5:

```
[0,0,0,0,0,1,0,0,0,0]

```

For the above I wrote:

```
np.put(np.zeros(10),5,1)

```

but it did not work.

Is there any way in which, this can be implemented in one line?