class Pizza():  
    def __init__(self) -> None:
        self.ingredients = []
        self.totalPrice = 0
        self.size = "" 
    
    def addIngredient(self, ingredient):
        self.ingredients.append(ingredient)

    def addSize(self, size):
        self.size = size

    def addPrice(self, price):
        self.totalPrice += price

    def getPrice(self):
        return self.totalPrice

    def list_parts(self) -> None:
        print(f"{', '.join(self.ingredients)}", end="")

    def getSize(self) -> None:
        return self.size

    def getIngredients(self):
        return self.ingredients