cave.py
This commit is contained in:
parent
9b4ca2f50a
commit
4e6c57ac3b
2
cave.py
2
cave.py
@ -37,6 +37,8 @@ class Bouteille(object):
|
||||
def __repr__(self):
|
||||
return "bouteille: pos_largeur({}), pos_hauteur({}), couleur({}),appelation'({}),".format(self.pos_largeur, self.pos_hauteur, self.couleur,self.appelation)
|
||||
|
||||
|
||||
|
||||
new=Etageres()
|
||||
new.add_etagere(30,3)
|
||||
new.etageres[0].add_bouteille(28,2,"rouge","saint emilion",2005)
|
||||
|
Loading…
Reference in New Issue
Block a user