Question: I need assistance with python programming for these 5 questions. (1) Prompt the user to enter a series of numbers, each corresponding to a person's

I need assistance with python programming for these 5 questions.

(1) Prompt the user to enter a series of numbers, each corresponding to a person's weight in pounds. Keep asking for weights until the user enters a 'Q' or a 'q'. Store all weights in a list and the print the list.

(2) Output the average of the list's elements with two digits after the decimal point. Hint: Use a conversion specifier to output with a two digits after the decimal point.

(3) Output the highest weight with two digits after the decimal point.

(4) Prompt the user to get a specified weight (using an integer, 1 for the first entry, 2 for the second entry, etc.). Check the entry to make sure it's valid and print the corresponding weight at the user specified location along with corresponding value in kilograms. (1 kilogram is equal to 2.2 pounds).

(5) Sort the list's elements from least heavy to heaviest weight.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!