import pygame class Shelf: def __init__(self, id): self.id = id self.products = [] def addProduct(self, sweet): self.products.append(sweet)