Use python 2.7 for this exercise.
BodyMassIndex Professor Hatzelklatzer has researched theextremely rare Hatzelklatzer-sydrome. There appear to be less casesof the sydrome in odd months than in even months. Further researchshould reveal if the syndrome affects people more often if they aretoo heavy.
A way of determining whether someone is too heavy is the body-massindex (BMI). This is a measure of a person’s weight taking intoaccount their height. The BMI is defined as weight/length2 . TheWorld Health Organization (WHO) considers a BMI between 18,5 and 25as ideal and considers people with such a BMI healthy.
The program receives input consisting of two persons with theirname, sex, length and weight.
Dean Johnson M 1.78 83
Sophia Miller V 1.69 60
Process this input into structured data. To achieve this, use anuseful class with useful methods to enhance the structure of theprogram. Use this structured data to print for each person: anappropriate style of address, surname, the BMI and a statementwhether this is considered healthy or not.
Mr. Johnson’s BMI is 26.2 and is unhealthy.
Mrs. Miller’s BMI is 21.0 and is healthy.
Answer to Use python 2.7 for this exercise. BodyMassIndex Professor Hatzelklatzer has researched the extremely rare Hatzelklatzer-…