Вот что вы должны сделать
toppings = []
while True:
topping = input("Enter a topping which you want on your pizza: ")
if topping != "quit":
toppings.append(topping)
print("You have selected " + topping + " as a topping for your pizza")
else:
break
print("You have chosen ", end="")
print(toppings, end="")
print(" as toppings for your pizza")
Так как начинки были объявлены внутри l oop, они инициализировались пустым списком на каждой итерации