Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #4 from alastairmoody-madeye/master
Browse files Browse the repository at this point in the history
Update grocer.py
  • Loading branch information
siddhantrao23 authored Oct 23, 2019
2 parents 5bc6d8e + aa3f02f commit 4528356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/grocer.py
Original file line number Diff line number Diff line change
@@ -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 = {
Expand All @@ -14,4 +14,4 @@
grocery_bill += my_purchase[purchase] * prices[purchase]

#total bill
print ('I owe the grocer %.2f rupees' % grocery_bill)
print ('I owe the grocer %.2f rupees' % grocery_bill)

0 comments on commit 4528356

Please sign in to comment.