From aa3f02faa290f8a28bc2cf99cf20b9ae8339031e Mon Sep 17 00:00:00 2001 From: Akshatha Laxmi <47936078+alastairmoody-madeye@users.noreply.github.com> Date: Tue, 22 Oct 2019 19:28:56 +0530 Subject: [PATCH] Update grocer.py --- py/grocer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)