#Lesson 1 Answer menu = ["Beef Burrito","Cheesy Nachos","Tortilla Chips and Salsa","Pork Tacos","Chicken Quesadillas","Antojitos","Sopa y Ensalada","Red Chille Taco","Shrimp Taco","Platos","Bebidas"] prices = [10,8,9,13,11,7,6,4,12,14,17] tip = 0.15 def findCorrespondingFood(price): index = 0 for items in prices: if price == items: break index = index + 1 return index def findHighestPrice(): highestPrice = 0 index = 0 for item in prices: if item > highestPrice: highestPrice = item print "The highest price is:",highestPrice print "The food choice he should sell the most is:",menu[findCorrespondingFood(highestPrice)] return highestPrice def getLowestNumberOfSales(highestPrice): print "Finding the least number of sales required..." profit = highestPrice*0.15 targetSaving = 3000 numOfSales = 0 while targetSaving > 0: targetSaving = targetSaving - profit numOfSales = numOfSales + 1 print "If Perez sells ",menu[findCorrespondingFood(highestPrice)], ", ", numOfSales ,"times, then he will reach this budget." highestPrice = findHighestPrice() getLowestNumberOfSales(highestPrice)