17 lines
380 B
Python
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
|