Home / Expert Answers / Computer Science / fatma-purchased-an-items-for-grocery-store-she-got-total-bill-and-she-want-to-know-the-single-it-pa841

(Solved): - Fatma purchased an items for grocery store. She got total bill and she want to know the single it ...




- Fatma purchased an items for grocery store. She got total bill and she want to know the single item price. Write a python p
- Fatma purchased an items for grocery store. She got total bill and she want to know the single item price. Write a python program to ask Fatma to enter total bill and number of items purchased. Use the below formula to calculate the single item price. Single Item Price \( = \) total bill / no of items - In your program handle at least any two possible exceptions individually and provide an appropriate message for every exception. - Print the single item price if there is no error appeared. - Always print thank you message at the end.


We have an Answer from Expert

View Expert Answer

Expert Answer


PYTHON code for above question : bill_amount=0 number_of_items=0 # taking total bill amount , it keeps asking for total bill amount untill user enters
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe