如何去除由数字 10~12 直到第 9 个数字造成的压痕是可以的,因为没有由数字引起的压痕。
mList = [" Ganja Masta"," Chicken"," Supreme"," Hawaiian"," God Father"," Double Cheese"," Vegetarian"," Meat Lovers"," Beef and BBQ","Fire Breather","Mr Wedge","Double Bacon"]
pList = [8.50,8.50,8.50,8.50,8.50,8.50,8.50,13.50,13.50,13.50,13.50,13.50]
qList = [0,0,0,0,0,0,0,0,0,0,0,0,0]
tList = [0,0,0,0,0,0,0,0,0,0,0,0]
cList = ["Delivery","delivery","Pickup","pickup","PickUp","pick-up","Pick-up","Pick-Up"]
dList = ["Delivery","delivery"]
print("Code No Item Price Quantity Item Total")
print("=======================================================================")
for count in range(len(mList)):
print("{0} {1:<15} ${2:>5.2f} {3:>5} ${4:>5.2f}".format(count+1,mList[count],pList[count],qList[count],tList[count]))