subject
Mathematics, 12.12.2020 17:30 tatedason33741

A fruit company sells oranges for 32 cents a pound plus $7.50 per order for shipping. If an order is over 100 pounds, shipping cost is reduced by $1.50. This program is supposed to ask the user for the number of pounds of oranges and then print the cost of the order, but it is all mixed up! Can you put the lines in the right order? Note that two lines are indented slightly.

Don't worry if you can't solve this one, as we'll cover all of how to do this in the coming weeks. But playing around with this program --- rearranging lines, keeping whole lines together --- and trying to figure out how to make it work will give you good experience in experimenting with Python.

costFruit = pounds * 0.32 #1

else: #2

if pounds <= 100 : #3

pounds = int(input("Enter pounds: ")) #4

print(totalCost) #5

shipping = 6.00 #6

shipping = 7.50 #7

totalCost = costFruit + shipping #8

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 16:00
In the diagram, the ratio of ab to ae is (1/2) . what is the ratio of the length of to the length of ?
Answers: 3
question
Mathematics, 21.06.2019 18:00
Use the distributive law to multiply. 3(4x + 5y + 6)
Answers: 2
question
Mathematics, 21.06.2019 23:00
Edger needs 6 cookies and 2 brownies for every 4 plates how many cookies and brownies does he need for 10 plates
Answers: 1
question
Mathematics, 21.06.2019 23:00
Afamily went out to dinner and their bill was $113.if they want to leave a 19% tip, how much should they leave.
Answers: 2
You know the right answer?
A fruit company sells oranges for 32 cents a pound plus $7.50 per order for shipping. If an order is...
Questions
Questions on the website: 13722362