From af6207e65cdde7e340bed557b26a80185220c413 Mon Sep 17 00:00:00 2001 From: erika <> Date: Thu, 12 Sep 2024 11:55:09 +0200 Subject: [PATCH] classe finie --- mini projet.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/mini projet.py b/mini projet.py index bd2ca1f..31a2fc0 100644 --- a/mini projet.py +++ b/mini projet.py @@ -59,16 +59,11 @@ class Personnage : def affiche_inventaire(self): if self.cat == "guerrier": - print("le personnage a : ") + print("le personnage a : épée, potion ") if self.cat == "magicien": - print("le personnage a : ") + print("le personnage a : bâton, potion ") if self.cat == "voleur": - print("le personnage a : ") + print("le personnage a : dague, potion ") if self.cat == "elfe": - print("le personnage a : ") - pass - - -def maf(x): - """fait qqch""" - pass \ No newline at end of file + print("le personnage a : arc, potion") +