On your own: load a price file safely
Your task In the code box, write a function load_prices(lines) where each line should be name,price. Give back a pair (prices, bad): prices is a dict from name to price as a float, and bad is the list of line numbers (counting from 1) that have no comma, a price that is not a number, or a price below 0. Then press Run my code.
Getting the editor ready
