python
sandwich_orders=['xigua','putao','ixangjiao','juzi']
finished_sandwiches=[]
for sandwich_order in sandwich_orders:
print(sandwich_order)
print('i made your '+sandwich_order+' sandwich')
while sandwich_orders:
current_sandwich=sandwich_orders.pop()
finished_sandwiches.append(current_sandwich)
for finished_sandwich in finished_sandwiches:
print('\n'+finished_sandwich)请问一下要是我没有最后面的那个while sandwich_orders要是不写的话为什么下面的那一块程序不运行,我感觉python运行完前面的会接着运行下面的呀。是个新手。不是很懂,