└── Food app /Food app: -------------------------------------------------------------------------------- 1 | print("Welcome to the H_Resto ! ") 2 | print("") 3 | print("") 4 | print("Delivery Available in areas: ") 5 | print("110096") 6 | print("110052") 7 | print("110091") 8 | print("110058") 9 | print("") 10 | print("") 11 | area1=input("Enter the region where the food needs to be delivered: ") 12 | print("") 13 | print("") 14 | address=input("Enter your address : ") 15 | print("") 16 | print("") 17 | 18 | print("Available Cuisine : ") 19 | print("South Indian \n North Indian") 20 | cuisine=input("Enter your favourite cuisine: ") 21 | print("") 22 | print("") 23 | 24 | 25 | print("Select your food from the menu") 26 | if cuisine == "South Indian": 27 | print("SD1 (50) \n SD2 (100) \n SD3 (60)") 28 | if cuisine == "North Indian": 29 | print("ND1 (100) \n ND2 (40) \n ND3 (10) \n ND4 (80)") 30 | b="a" 31 | orderlist=[] 32 | while (b!="No"): 33 | order = input("Enter your dish: ") 34 | orderlist.append(order) 35 | print("") 36 | print("") 37 | b=input("Enter 'No' to complete the list and get the bill or 'Yes' to add more: ") 38 | dish=["SD1","SD2","ND1","ND2","ND3","ND4","ND5"] 39 | price=[50,100,100,40,60,10,80] 40 | bill=0 41 | for a in orderlist: 42 | c=dish.index(a) 43 | bill+=price[c] 44 | print("") 45 | print("") 46 | print("") 47 | tip=0 48 | print("Your Order has been placed! ") 49 | tip = input("Enter the Tip for the Rider :") 50 | bill+=int(tip) + 40 51 | print("") 52 | print("") 53 | print("Delivery Charges == 40") 54 | print("") 55 | print("") 56 | print("") 57 | print("Total Bill = "+ str(bill)) 58 | print("Thank You for order \U0001F600 . \n Your order will be delivered soon \U0001F618 \n Stay home Stay safe \U0001F637") 59 | c=input("") 60 | --------------------------------------------------------------------------------