From 061043606a950116956224e2b6fbc2fa509baad8 Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 3 Feb 2018 17:58:40 +0100 Subject: [PATCH] first commit cave.py --- cave.dia | Bin 2396 -> 1888 bytes cave.py | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 cave.py diff --git a/cave.dia b/cave.dia index 928cd194e17bb390aea45e8aff97893353860376..46fd77f4952fb7932e355dca21a257f88a060fa0 100644 GIT binary patch literal 1888 zcmV-m2cP&KiwFP!000021MOYga@#f#efL*zlvkS~B~m1l$eFY=oj$aanNIVpfhbr) z0}>1f+EE|+J?(eo#|mC7nKzN*MTwo&Okz`B?g5s&iv@5o%gGwKpSGMu{$`R&WpXZ~j4Stu zE+?<Y3;7{$m>Q3a21cbw2gRJz!yZuRKJ9T9>xwEqs#uuTWjuMg37 zZscw`*_;mCoJ5V52eJ{n)t8aXm1^IQr2U?RWKD5Z>xnN0Q@{3(7PkHiyCUoF$KQWbZj_%X3d6~<29XsA*(@g?w7jv3-IJPR z9xPcaUmR;%(l=<6emV4kR7{50O3c8cwxpH@?ltm9Y)X=)= z&#bhPWinn->~G8Y^H|?l{V-&*+UBeAK`%(sg@zG8Q*|x>(R+a9>#UlIxYqH?+!0Ef z5%Q}D=OGCEMU2}ApUH_OUEQ&A-jBai?vO|5emU`&&%yw?vg!)OJ}$vz1(mA!nMIsn z-VOh8Oz6@A+b%TW<|jrsAJ&w7?i$PiqkE6>U`O0eEh;vsS7Y3`W{rPsZc2z`emk_{ zaA|(U^d1Z1qQo*iuTbaa*wxMHXPYczo!OLfOM129N%S;Uo0@7D5}PrMk6sQr7p#|q z%{yKru0E)rj|KPCfm@hz;S4fWsV^dn%LI`}55naYmB#ht!rWoaq^uk+aagmmd}2AK zZfwj?g-Vc=gkmr-c@?5|9UKg@JR55_BkR8*(=fhM?09&rf zb}(NY#jDU|)n3vWu5x|rLQzB!-{Od0EQI8|;&KrLfdhdvR^aTAl!d^7ziR>N0Dl}q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zf-_% zP(OrjJcY(Kv4|!13KxaZd&{bG+LwF(ctCo*)bz)>94n#N8ZxO~cilZWuFp~fVq-U~Y0 z*btVfERSi97J#j@-S+ogenOXaYAcC24CNTOJpR0V;(eN2*p0BPqTHv-55cK$*$35y z7;E?@{ZGP+hc9jmd;MU0zU}f=V~u?DnU~zpkH7aSgmu=pVG!#eY>MMfPL8wp z4@q^OGLfxg8EAn6@8%1ynVwHR+A_hbc4Uw`;%%EJH%r9Wz5-fKW}o9+n*LmSFT6ft z-D|IE!B?`4L(h15okqd%7%k`VQ18|BmhFN18?h3ry?5aq@&om%T7`gN$2mZC`W|UP zC=~LWtr&l0iH+3LY`)|*?Qr1`@e6waj0~Yk?5R)ze7oCbRY}2a#{ie+{RQpoy$|fM z2ez7t^+SXHdz6Cfm7xh9cLF+`8BH(4CX*fl4F&{2mb-daD diff --git a/cave.py b/cave.py new file mode 100644 index 0000000..5652c53 --- /dev/null +++ b/cave.py @@ -0,0 +1,30 @@ + +class etageres(object): + def __init__(self): + self.liste_etagere={} + self.nbetagere=0 + + def add_etagere(self,largeur,hauteur): + + self.liste_etagere[self.nbetagere] = etagere(largeur,hauteur,self) + self.nbetagere+=1 + + +class etagere(object): + def __init__(self,largeur,hauteur,etageres): + self.largeur=largeur + self.hauteur=hauteur + self.etageres=etageres + + def add_bouteille(): + pass + + +class bouteille(object): + + def __init__(self): + pass + +new=etageres() +new.add_etagere(30,3) +print (new.liste_etagere[0].largeur) \ No newline at end of file