edit fichier enoncé et images algo

This commit is contained in:
2024-11-18 08:53:56 +01:00
parent 3cbba856fe
commit 3c1159db71
3 changed files with 4 additions and 5 deletions

View File

@@ -256,11 +256,10 @@ Vu le nombre d'animaux qu'il va falloir gérer, quelle structure proposez vous ?
```python
def ...
...= ...(a_id, energie_init[a_id], temps_gestation[a_id], x, y)
self.animaux.append(animal)
self.grille[y][x] = animal
def ...:
= ...(a_id, energie_init[a_id], temps_gestation[a_id], x, y)
self.animaux.append(animal)
self.grille[y][x] = animal
```
Ici, on applique donc notre quota :

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 KiB