87. Problem to calculate bill per fruit purchased from a list.

In this Python list program, we will take a user input as a list and calculate the bill per fruit purchased from a given fruit list with the help of the below-given steps.

Bill per fruit purchased:

Steps to solve the program
  1. Take a list of fruits and their prices as input.
  2. Calculate the bill per fruit purchased using for loop.
  3. Print the output.

Output :

Related Articles

Insert sublist into the list at specific index

Calculate marks percentage from the given list

Leave a Comment