Browse Source

mise a jour

master
manon 2 months ago
parent
commit
891f02a63c
  1. 13
      Mini projet nb1.py

13
Mini projet nb1.py

@ -1,4 +1,13 @@
from random import randint
class Personnage:
def __init__(self, nom, pdv, exp, cat inventaire):
self.
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):
Loading…
Cancel
Save