Create a dictionary to hold the prices of fruit:Bananas cost $1.5 a pound,apples $2.3 a pound,oranges cost $4.5 a pound and cherries cost $6 a pound.

snowlovelydayM

snowlovelydayM

Answered question

2021-09-23

Create a dictionary to hold the prices of fruit: Bananas cost $1.5 a pound, apples $2.3 a pound, oranges cost $4.5 a pound and cherries cost $6 a pound. Create another dictionary to hold the stock of each fruit: You have 35 pounds of bananas, 42 pounds of apples, 40 pounds of oranges and 12 pounds of cherries. Display the data in a table format as such: Fruit Price Stock Banana 1.5 35 Apple 2.3 42 …….. Calculate the total value we have of each fruit and the total value of the whole shop.

Answer & Explanation

irwchh

irwchh

Skilled2021-09-24Added 102 answers

Hey there. I have no idea which language youre

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?