class Estomac: pass class Monstre: def __init__(self, nom, x=0, y=0, pv=100): self.__nom = nom self.__pos_x = x # Un attributs (où variable d'instance) self.__pos_y = y # est rendu privé par : __ self.__pointsDeVie = pv # exemple self.__posx self.__estomac = Estomac() Monstre.__nombreDeMonstres += 1 # Programme dracula = Monstre("Dracula", verreDeSang)