This is a simple Python program that simulates a menu ordering system for a hotel called KHAJA HOUSE. The program displays a predefined menu with prices, allows the user to place multiple orders, and calculates the total bill while ensuring case-insensitive input handling.
- Displays a menu with item names and prices.
- Takes user input to order an item (case-insensitive).
- Allows the user to place multiple orders in a loop.
- Computes and displays the total bill.
- Provides error handling for invalid menu items.
- Buff MO:MO : Rs.160
- Chicken MO:MO : Rs.180
- Veg MO:MO : Rs.150
- Veg ChauMin : Rs.100
- Buff ChauMin : Rs.110
- Thukpa : Rs.280
- The program welcomes the user and displays the menu.
- The user is prompted to order an item from the menu.
- The input is case-insensitive, meaning "buff mo:mo" and "BUFF MO:MO" are treated the same.
- If the item exists in the menu, it is added to the total order.
- The user is asked if they want to order another item.
- If the user chooses to continue ordering, they can enter another item.
- If the user enters an invalid item, they are prompted again.
- Once the ordering process ends, the total bill is displayed.
- Python 3.x
- Save the script as hotel_menu.py.
- Open a terminal or command prompt.
- Run the script using:
python hotel_menu.py