511,469 views
10 votes
10 votes
Dave bought some fresh produce. He picked up 2 oranges, and 3 bananas. The cost of the Dave's shopping was $9.16.

Beth also went to the same shop and bought 5 oranges and 7 bananas. The cost of the Beth's shopping was $22.05.
If the price of oranges is represented by f and the price of bananas is represented by g, write an equation for Dave's shopping trip. Call this equation

User Pierre Vanduynslager
by
2.4k points

1 Answer

10 votes
10 votes

Answer:prices = {"banana": 4, "apple": 2, "orange": 1.5, "pear": 3}

stock = {"banana": 6, "apple": 0, "orange": 32, "pear": 15}

for item in prices:

print item + ":"

print "price: " + str(prices[item])

print "stock: " + str(stock[item])

Explanation:

prices = {"banana": 4, "apple": 2, "orange": 1.5, "pear": 3}

stock = {"banana": 6, "apple": 0, "orange": 32, "pear": 15}

for item in prices:

print item + ":"

print "price: " + str(prices[item])

print "stock: " + str(stock[item])

User Typeoneerror
by
3.1k points