题解 | #披萨店的订单#
披萨店的订单
http://www.nowcoder.com/practice/22ed6ddd17834168b9000a9a94c243da
pizza_orders = ["chichen", "bacon", "durian"]
finished_pizza = []
while len(pizza_orders) > 0:
pizza = pizza_orders[len(pizza_orders) - 1]
pizza_orders.pop()
print("I made your %s pizza!" % pizza)
finished_pizza.append(pizza)
finished_pizza = []
while len(pizza_orders) > 0:
pizza = pizza_orders[len(pizza_orders) - 1]
pizza_orders.pop()
print("I made your %s pizza!" % pizza)
finished_pizza.append(pizza)
print(finished_pizza)
#chichen是什么东西