This Python program calculates the total bill for food delivery based on the type of food ordered (vegetarian or non-vegetarian), quantity, and the distance from the restaurant. The program uses a tiered delivery charge system, where the first 3 km are free, the next 3 km cost Rs. 3 per km, and any additional distance costs Rs. 6 per km. The program ensures that inputs are valid (correct food type, positive quantity, and distance) and returns a final bill or -1 for invalid inputs.
Watch the full Python tutorial series in Hindi here:
https://www.youtube.com/playlist?list=PLXoGFuxjOhF8BoGSjX_aIWWzby5cAHw5o
Watch Programming Practice questions complete playlist:
https://www.youtube.com/playlist?list=PLXoGFuxjOhF9M3Igxdh0MFKvgLQQ08yFZ
Watch complete functions playlist:
https://www.youtube.com/playlist?list=PLXoGFuxjOhF-HSSwanSjuzlpHdv5HGMQb
Python Tutorial in English:
https://www.youtube.com/watch?v=f7RLlF7HOuc&list=PLbWugmIR3FS4FGExKrnbwRH0DlsKVhQP-
š Subscribe for more Python tips and tutorials!
š± Connect with me on social media!
šø Instagram: Follow me on Instagram for behind-the-scenes content, coding inspiration, and more.
https://www.instagram.com/codewithdaneyal/
š¼ LinkedIn: Connect on LinkedIn to stay in touch and expand your professional network.
https://www.linkedin.com/in/mohd-daneyal-hasan-lari-282539105/
š GitHub: Check out my GitHub for all the code examples, projects, and repositories from my tutorials.
https://github.com/mohddaneyal/python_programming_practice.git
š Facebook: Join my Facebook group for discussions, Q&A, and community support on all things Python!
https://www.facebook.com/daneyallari
š§ Email: For business inquiries, reach me at daneyallari@gmail.com
Please like, comment, share and subscribe.
#CodeWithDaneyal #python #pythonprogramming #pythoninhindi #pythontutorial #pythonforbeginners