forked from s444420/AL-2020
28 lines
1.1 KiB
Python
28 lines
1.1 KiB
Python
|
from sweets import Sweets
|
||
|
|
||
|
|
||
|
def createDataSweets():
|
||
|
allProducts = []
|
||
|
|
||
|
sweet = Sweets('Mars', 'czekoladowy', 'baton', 'sredni', 2.49)
|
||
|
allProducts.append(sweet)
|
||
|
sweet = Sweets('Mars', 'czekoladowy', 'czekolada', 'duzy', 4.99)
|
||
|
allProducts.append(sweet)
|
||
|
sweet = Sweets('Mars', 'czekoladowy', 'czekolada', 'ogromny', 11.26)
|
||
|
allProducts.append(sweet)
|
||
|
sweet = Sweets('M&M', 'czekoladowy', 'czekolada', 'duzy', 3.99)
|
||
|
allProducts.append(sweet)
|
||
|
sweet = Sweets('M&M', 'czekoladowy', 'baton', 'sredni', 2.89)
|
||
|
allProducts.append(sweet)
|
||
|
sweet = Sweets('Nestle', 'bananowy', 'landrynka', 'maly', 0.39)
|
||
|
allProducts.append(sweet)
|
||
|
sweet = Sweets('Nestle', 'truskawkowy', 'landrynka', 'maly', 0.39)
|
||
|
allProducts.append(sweet)
|
||
|
sweet = Sweets('Nestle', 'cola', 'landrynka', 'maly', 0.49)
|
||
|
allProducts.append(sweet)
|
||
|
sweet = Sweets('Wedel', 'czekoladowy', 'baton', 'sredni', 1.99)
|
||
|
allProducts.append(sweet)
|
||
|
sweet = Sweets('Maoam', 'truskawkowy', 'guma', 'maly', 0.25)
|
||
|
allProducts.append(sweet)
|
||
|
|
||
|
return allProducts
|