write a program in python
Task 1
A candy store sells the following items:
Item
Price
Toffees
Rs. 7
Chocolate Bars
Rs. 30
Chewing Gum
Rs. 12
Write a program called MakeBill.py that asks the user for number of toffees, chocolate bars and
chewing gums bought. The program then generates the bill for the customer. Include an item
in the bill only if the number of items bought is not zero (Hint use if statements). A sample
run of the program is given below:
Enter the number of Toffees: 4
Enter the number of Chocolate Bars: 0
Enter the Cups of Chewing Gum: 3
Bill
Item
Quantity
Cost
Toffees
28
Chewing Gum 3
36
Total
64
Answers
Answered by
1
Answer:
sorry bruh dunno
Similar questions