Question: Using either Anaconda / Jupyter or Google Colab, write a Python program which does the following: Creates a list called weight with the following values:
Using either AnacondaJupyter or Google Colab, write a Python program which does the following:
Creates a list called "weight" with the following values:
Creates a list called "height" with the following values:
Computes and prints the minimum height
Computes and prints the maximum weight
Computes the average weight by dividing the total weight by the number of items in the list. Use Python to figure out the total and the number of items.
Computes the average weight by using the "mean" function. To use it your program will need to include the following code at the top:
from statistics import mean
Prints the values of height in ascending order
Prints the values of height in descending order
Determines if the maximum height is over and prints either "yes" or no
Determines if the mean weight is over and prints either "yes" or no
Make sure your notebook name includes your last name, and then submit it Note that only files with the suffix ipynb will be accepted.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
