0

Here is my program and output. Note: I was doing this in a jupyter notebook.program img

shop_prices = {'apple':1.4,'eggs':1.7,'rice':1} shop_prices['apple']+shop_prices['eggs']

Output: 3.0999999999999996

I was expecting the reseult to be 3.1

0 Answers0