---
# System prepended metadata

title: Untitled

---

Homework :+1: 
![](https://i.imgur.com/YpEHhEY.png)

```python =
value = 0
menu = {
    "Baja Taco": 4.00,
    "Burrito": 7.50,
    "Bowl": 8.50,
    "Nachos": 11.00,
    "Quesadilla": 8.50,
    "Super Burrito": 8.50,
    "Super Quesadilla": 9.50,
    "Taco": 3.00,
    "Tortilla Salad": 8.00
}
menu_key = menu.keys()
while True :
    try :
        Item=input('please input item : ')
        if Item == " ":
            break
        Newitem = Item.title()
        value = value + menu[Newitem]
        print("$",value)
    except :
            pass
```
![](https://i.imgur.com/iLTUR0c.png)
```python=
while True:
    try :
        fuel = input('fraction : ')
        value = fuel.split ('/')
        a= int(value[0])
        b= int(value[1])
        if a>b :
            continue
        elif a/b <= 0.01 :
            print('E')
        elif a/b >= 0.99 :
            print('F')
        else :
            print(f"{a/b*100:.0f}%")
        break
    except:
            pass
```