---
jupytext:
  text_representation:
    extension: .md
    format_name: myst
    format_version: 0.13
    jupytext_version: 1.14.0
kernelspec:
  display_name: Python 3 (ipykernel)
  language: python
  name: python3
---

```{code-cell} ipython3
:tags: [remove-cell]

%matplotlib inline
```


# Exercise: Creating arrays using zeros and ones 2

Using a single line of code, create a 15x3 matrix that contains only ones.

```{code-cell} ipython3
:tags: [hide-cell]
import numpy as np

np.ones((15, 3))
```
