This script simulates a simple restaurant ordering experience in your terminal. When you launch it, the full menu is displayed. You then place items one at a time — each addition updates your running total — and finish when you’re ready to close the order.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/muhammadalamzeb/python_projects/llms.txt
Use this file to discover all available pages before exploring further.
How to run
Menu
| Item | Price (PKR) |
|---|---|
| Pizza | 40 |
| Pasta | 50 |
| Burger | 60 |
| Salad | 70 |
| Coffee | 80 |
Ordering flow
Place an item
Type an item name at the
Please place your order: prompt. If the item is in the menu, its price is added to your running total and a confirmation is printed.Item names are case-insensitive. The script calls
.capitalize() on your input, so pizza, PIZZA, and Pizza are all treated the same.