Ejemplo n.º 1
0
 def inv_button_click_3(self, item):
     myInv = Inventory()
     myInv.addItem("pasta", 22)
     myInv.__str__()
Ejemplo n.º 2
0
 def inv_button_click_1(self, item):
     myInv = Inventory()
     myInv.addItem("chicken", 45)
     myInv.__str__()
Ejemplo n.º 3
0
 def inv_button_click_2(self, item):
     myInv = Inventory()
     myInv.addItem("carrots", 15)
     myInv.__str__()
Ejemplo n.º 4
0
from Inventory import Inventory

myInv = Inventory()
myInv.addItem("chicken", 45)
myInv.addItem("carrots", 15)
myInv.addItem("pasta", 18)

myInv.currQuantity("chicken")

myInv.__str__()