Homework :+1:  ```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 ```  ```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 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up