Computer Science, asked by cmkairu, 2 months ago

27. Consider the following Series
object, s
Apple 10
Mango 20
Banana 30
Orange 40
i. Write the command which will display only
apples
ii. Write the command to increase the price of
all fruits by 10.​

Answers

Answered by alansam5mas
2

Answer:

MARK ME AS BRAINLIEST

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])

Similar questions