diff --git a/py/grocer.py b/py/grocer.py index c6f70f2..c95df24 100644 --- a/py/grocer.py +++ b/py/grocer.py @@ -1,5 +1,5 @@ #prices of items -prices = {'apple': 10, 'tomato':5 'banana': 1, 'potato':5} +prices = {'apple': 10, 'tomato':5, 'banana': 1, 'potato':5} #items purchased my_purchase = { @@ -14,4 +14,4 @@ grocery_bill += my_purchase[purchase] * prices[purchase] #total bill -print ('I owe the grocer %.2f rupees' % grocery_bill) \ No newline at end of file +print ('I owe the grocer %.2f rupees' % grocery_bill)