Inteligentny_Wozek/packageList.py
2023-05-25 19:59:54 +02:00

17 lines
380 B
Python

class listOfPackages:
list = []
def add(self, item):
self.list.append(item)
def remove(self):
self.list.pop()
def zainicjuj_liste_paczek():
from paczka import Paczka
packageList = listOfPackages()
demo_paczka = Paczka('duzy', 10, any, False, True, False, any, any, any, any, any)
packageList.add(demo_paczka)
return packageList