from random import randint class Personnage: def __init__(self, nom, pdv, exp, cat): pdv = 20 exp = 1 self.nom = nom self.pdv = pdv self.exp = exp self.cat = cat self.inventaire = [] def jet_attaque (self):