I need a function to calculate the amount of entries that are stored in the dictionary. The data type of the records is int . Dictionary example:
stock = { "banana": 6, "apple": 0, "orange": 32, "pear": 15 } prices = { "banana": 4, "apple": 2, "orange": 1.5, "pear": 3 } 
compute_bill(['apple']). The error code cannot cause this error. Therefore either you give not everything, or the interpreter invents something himself. - Edward Izmalkov