Esempio n. 1
0
 def inv_button_click_3(self, item):
     myInv = Inventory()
     myInv.addItem("pasta", 22)
     myInv.__str__()
Esempio n. 2
0
 def inv_button_click_1(self, item):
     myInv = Inventory()
     myInv.addItem("chicken", 45)
     myInv.__str__()
Esempio n. 3
0
 def inv_button_click_2(self, item):
     myInv = Inventory()
     myInv.addItem("carrots", 15)
     myInv.__str__()
Esempio 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__()