
Prachi K.
asked 09/07/20Write a program in python using tuple if possible.
Pure Gems Store sells different varieties of gems to its customers. Emerald, Ivory, Jasper, Ruby, Garnet and their prices are 1760, 2119, 1599, 3920, 3999 respectively. Write a Python program to calculate the bill amount to be paid by a customer based on the list of gems and quantity purchased. Any purchase with a total bill amount above Rs.30000 is entitled for 5% discount. If any gem required by the customer is not available in the store, then consider total bill amount to be -1. Assume that quantity required by the customer for any gem will always be greater than 0. Perform case-sensitive comparison wherever applicable.
1 Expert Answer

Jonathan S. answered 09/08/20
Experienced Math Educator and Former Google Software Engineer
I would be happy to help you solve this in an online session. Also I think using tuples is the wrong approach here.
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Andrew W.
I can help you solve this using a tuple. Reach out to me if you want to schedule a short lesson. Should be able to help you with this problem in 20 minutes09/08/20