Write cart_total(cart) where cart maps item → [qty, price]. Return the total cost.
cart_total({'pen': [3, 10], 'book': [1, 250]})
→ 280cart_total({})
→ 0Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.