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:30
The difference between tax advoidance and tax evasion
Answers: 1
question
Mathematics, 21.06.2019 18:00
Darian wants to build a regulation size pool table that is 9 feet in length.he plans he ordered are 18 by 36 inches. what is the scale factor of the dilation he must use to build a regulation pool table
Answers: 1
question
Mathematics, 21.06.2019 18:40
This stem-and-leaf plot represents the heights of the students on ralph's basketball team. one student's height is missing from the plot. if the mean height of all the students on the team is 61 inches, what is the missing height? a. 55 in. b. 59 in. c. 61 in. d. 65 in.
Answers: 2
question
Mathematics, 21.06.2019 19:30
What are the exclude value of mn+3m
Answers: 1
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
question
History, 28.02.2020 00:58
Questions on the website: 13722359