subject
Mathematics, 22.02.2021 22:00 jennsou

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

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 14:00
You purchased 8 pounds 10 ounces of candy from a candy shop. you want to split it equally among 3 classrooms at a local school.
Answers: 1
question
Mathematics, 21.06.2019 16:40
Tcan be concluded that % of the seniors would prefer to see more candid pictures in this year's edition of the yearbook.
Answers: 1
question
Mathematics, 21.06.2019 18:00
Just tell me how to set up the equation.
Answers: 2
question
Mathematics, 21.06.2019 18:00
How many triangles can be drawn with side lengths 4 centimeters, 4.5 centimeters, and 9 centimeters? explain
Answers: 1
You know the right answer?
Prices = {"banana": 4, "apple": 2, "orange": 1.5, "pear": 3} stock = {"banana": 6, "apple": 0, "ora...
Questions
question
Mathematics, 18.12.2020 20:10
question
Mathematics, 18.12.2020 20:10
question
World Languages, 18.12.2020 20:10
question
Computers and Technology, 18.12.2020 20:10