Write code that accepts individual scores from the keyboard and stores them in a list in float format. Then call each of the three functions below, passing the list, to compute the average, highest, and lowest score.

computer science

Description

single program named PY7.py that performs the following:

Write code that contains three functions (input function, process function, and output function).  The input function asks for the user’s full name.  The process function formats the name into title format.  The output function prints the title formatted name.  Be sure to write comments in your program.

n  Write code that accepts individual scores from the keyboard and stores them in a list in float format.  Then call each of the three functions below, passing the list, to compute the average, highest, and lowest score.

n  (Create 3 functions (Avg, High, Low), and pass the list to each)

n  Hint: if the numbers in the list are float, you can sort them, then find lowest

n  Hint: if the numbers in the list are float, you can sort them, reverse them then find lowest

n  Hint: to find average add all elements in the list (using for loop) then divide by length of list

n  Write code using a function that calculates the total volume required to move shipping boxes.

You need to include the following:

n  Create a ShipVol function which allows caller to pass in box height, width, depth and quantity of boxes

n  Ask the user for height of the box.

n  Ask the user for width of the box.

n  Ask the user for depth of the box.

n  Ask the user how many boxes they need to ship.

n  Call a ShipVol function passing in the height, width, depth and quantity of boxes

n  Return the answer which will be the size of the truck they need based on total volume in cubic feet

n  In the mainline code print the answer returned by ShipVol function

Note: the calculation for this will be height * width * depth * number of boxes

Related Questions in computer science category

Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.