From a5466645c8723478a11515759191c41a90beb0fe Mon Sep 17 00:00:00 2001 From: erika <> Date: Mon, 16 Sep 2024 11:50:43 +0200 Subject: [PATCH] classe finie --- mini projet.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mini projet.py b/mini projet.py index 31a2fc0..fae9c82 100644 --- a/mini projet.py +++ b/mini projet.py @@ -67,3 +67,7 @@ class Personnage : if self.cat == "elfe": print("le personnage a : arc, potion") +perso1 = Personnage("toto", "guerrier") + print affiche_inventaire + +perso2 = Personnage("bob", "elfe") \ No newline at end of file