Write a Python program that calculates the average height and weight of students from a dictionary and
Fantastic news! We've Found the answer you've been seeking!
Question:
Your program should accomplish the following tasks:
1. Calculate the average height and weight of the students.
2. Prompt the user to enter thresholds for height and weight.
3. Categorize each student as "Tall" if their height is above the height threshold and "Heavy" if their weight is above the weight threshold.
4. Create two separate lists: one containing the names of tall students and another containing the names of heavy students.
5. Display the average height and weight, and the lists of tall and heavy students.
Note: comment each line of code to explain the code, otherwise Zero marks will be given.
Related Book For
Financial Analysis with Microsoft Excel
ISBN: 978-1285432274
7th edition
Authors: Timothy R. Mayes, Todd M. Shank
Posted Date: