# Exercises

Each exercise carries the difficulty level indication:
- [*] Easy
- [**] Moderate
- [***] Advanced
- 🖌️ Uses the NaNoPy graphical environment

The highest difficulty level is meant for students who wish to challenge themselves and/or have previous experience in programming.

```{important}
Do **all** NaNoPy exercises (🖌️), whatever their difficulty level. They build on each other, so skipping one makes the next ones harder.
```

`````{exercise} [*] Basics of NumPy
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/01_NumPy.py>`

```{include} ../coding-exercises/chapter-10-numpy/01_NumPy_rendered.md
```

`````

`````{exercise} [*] How many ways to the same array?
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/02_Arrays.py>`

```{include} ../coding-exercises/chapter-10-numpy/02_Arrays_rendered.md
```

`````

`````{exercise} [*] List with the highest mean
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/03_Max_mean.py>`

```{include} ../coding-exercises/chapter-10-numpy/03_Max_mean_rendered.md
```

`````

`````{exercise} [*] Drawing parametric curves 🖌️
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/04_Drawing_functions.py>`

```{include} ../coding-exercises/chapter-10-numpy/04_Drawing_functions_rendered.md
```

`````

`````{exercise} [**] Kinetic energy
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/05_Kinetic_energy.py>`

```{include} ../coding-exercises/chapter-10-numpy/05_Kinetic_energy_rendered.md
```

`````

`````{exercise} [**] Bacterial growth
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/06_Bacterial_growth.py>`

```{include} ../coding-exercises/chapter-10-numpy/06_Bacterial_growth_rendered.md
```

`````

`````{exercise} [**] Protein concentration
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/07_Protein_concentration.py>`

```{include} ../coding-exercises/chapter-10-numpy/07_Protein_concentration_rendered.md
```

`````

`````{exercise} [**] Heat distribution in a metal plate
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/08_Metal_plate.py>`

```{include} ../coding-exercises/chapter-10-numpy/08_Metal_plate_rendered.md
```

`````

`````{exercise} [**] Social network for epidemic modelling
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/09_Social_network.py>`

```{include} ../coding-exercises/chapter-10-numpy/09_Social_network_rendered.md
```

`````

`````{exercise} [**] Dataset Manipulation
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/10_Dataset_manipulation.py>`

```{include} ../coding-exercises/chapter-10-numpy/10_Dataset_manipulation_rendered.md
```

`````

`````{exercise} [**] Drawing arrays 🖌️
:class: dropdown

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/11_Draw_arrays.py>`

```{include} ../coding-exercises/chapter-10-numpy/11_Draw_arrays_rendered.md
```

`````

`````{exercise} [**] Predator vs. prey 🖌️
:class: dropdown

```{figure} images/predator-prey.svg
:alt: A red, elongated predator microbe with trailing flagella moves to the right, chasing a round blue prey microbe that also moves to the right, away from it.
:name: predator-prey
```

{download}`Download this exercise.<../coding-exercises/chapter-10-numpy/12_Predator_prey.py>`

```{include} ../coding-exercises/chapter-10-numpy/12_Predator_prey_rendered.md
```

`````
