Added new products to product_list

This commit is contained in:
Yarne Coppens 2024-09-29 16:58:14 +02:00
parent 90b366bd7a
commit ec4059d505

View file

@ -59,7 +59,10 @@ husky = product_classes.Product(name="husky", price=10.0, barcode=1043 ,image_fi
snake = product_classes.Product(name="snake", price=10.0, barcode=1044 ,image_filename="animals/snake")
turtle = product_classes.Product(name="turtle", price=5.0, barcode=1045 ,image_filename="animals/turtle")
product_list = [melon,pear,peach,orange,apple,banana,cherry,kiwi,grape,strawberry,pineapple,blueberry,raspberry,lemon,tire,wash,oil,gas,work_time,tool_usage,steering_wheel,air_pump,bike_bell,light,flashlight,search]
product_list = [melon,pear,peach,orange,apple,banana,cherry,kiwi,grape,strawberry,pineapple,blueberry,raspberry,lemon,
tire,wash,oil,gas,work_time,tool_usage,steering_wheel,air_pump,bike_bell,light,flashlight,search,
birdfood,carrot,cat_food,dog_bath_product,dog_dish,dog_food,dog_leash,dog_toy,feather_toy,fish_food,hair_brush,hamster_food,
bird,bunny,cat,fish,hamster,husky,snake,turtle]
def get_all_products() -> list[product_classes.Product]:
return product_list