From 5c094c8d672d9247e0392ae3f98526efa9c4e112 Mon Sep 17 00:00:00 2001 From: manon Date: Sun, 15 Sep 2024 09:46:17 +0200 Subject: [PATCH] =?UTF-8?q?j'y=20arrive=20plus=20=C3=A7a=20m'enerve?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mini projet nb1.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mini projet nb1.py b/Mini projet nb1.py index e1834e2..e3a64b2 100644 --- a/Mini projet nb1.py +++ b/Mini projet nb1.py @@ -1,4 +1,5 @@ from random import randint + class Personnage: def __init__(self, nom, cat): pdv = 20 @@ -54,4 +55,4 @@ class Personnage: def affiche_inventaire (self): print ("j'ai", self.inventaire) -p=Personnage("piero","guerrier") \ No newline at end of file +p = Personnage("pierrot","guerrier")