# Restaurant Project

You work at a restaurant and want to keep track of the items in the order and how much the order is.  Create a list named items and cost.

```python
# My Name
print('Welcome to my Restaurant Project')
print('By My Name')
items = []
cost = [0]
done = False
while not done:
    print("S - Sandwich")
    print("B - Beverage")
    print("F - Fries")
    print("C - Cake")
    print("T - Total")
    print("Q - Quit")
    choice = input(":: ")
    if choice == "S":
        print("Sandwich Menu")
    elif choice == "Q":
        print("Quit!")
        done = True
    else:
        print("Invalid Choice")
```

| Menu Item | Description                                                                                                                                                                                                                                                                                                         |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| S         | <p>Ask the user for a type of sandwich they want. </p><p></p><p>Add this selection to the items and cost lists, appropriately.</p><p></p><p>Examples:</p><p>Chicken $5.25 </p><p>Beef $6.25 </p><p>Turkey $4.00 </p><p>Veggie $7.00 </p><p>Tofu $5.75 </p>                                                          |
| B         | <p>Ask the user whether they would like a beverage (yes, no).</p><p>If they say yes, ask what size beverage they would like.</p><p></p><p>Examples:</p><p>Small $1.00 </p><p>Medium $1.75 </p><p>Large $2.25</p>                                                                                                    |
| F         | <p>Display the choices and prices.</p><p></p><p>If they say “small”, ask the user whether they’d like to mega-size their fries (yes, no).  If the user inputs yes to mega-size, give them large fries at the small fries price.</p><p></p><p>Examples:</p><p>Small $1.00 </p><p>Medium $1.50 </p><p>Large $2.00</p> |
| C         | <p>Display the choices and prices.</p><p></p><p>Examples:</p><p>Coconut Mousse $2 </p><p>Dulce de Leche Chantilly $2.50 </p><p>Carrot Cake $3.00 </p><p>Chocolate Chip $1.50 </p><p>Tres Leches $3 </p>                                                                                                             |
| T         | Print the items ordered and the total amount.                                                                                                                                                                                                                                                                       |

{% embed url="<https://repl.it/@MatthewCheng1/Restaurant-Game>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.pythonclassroom.com/python-projects/restaurant-project.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
