Semaine 4, jour 3, matin

This commit is contained in:
gauvainboiche
2026-01-14 12:12:07 +01:00
parent 4911bbd40c
commit 1db1a5ab8d
9 changed files with 99 additions and 3 deletions

View File

@@ -51,4 +51,11 @@ objet.append({"titre": "Alice aux pays", "auteur": "Caroll"})
with open("livres.json", "w") as fichier_json:
json.dump(objet, fichier_json, indent= 4)
```
```
## Les classes
### Méthodes "Dunder"
- __init__
- __repr__