Display the program title text and a blank line Solution

(Python 3.4.1)

The program should:

1. Display the program title text and a blank line
2. Ask the user to input his or her weight in pounds and validate that the user entered a number between 50 and 500
3. Ask the user to input his or her height in inches and validate that the user entered a number between 49 and 100
4. Calculate the BMI
5. Display a blank line and the person’s BMI number
6. Display the BMI Classification (underweight, optimal weight or overweight)

Example:
Body Mass Index (BMI) Program

Enter the weight in pounds: 10
Invalid entry! Weight should be 50-500 pounds.
Enter the weight in pounds: 180

Enter the height in inches: 700
Invalid entry! Height should be 48-100 inches.
Enter the height in inches: 70

The BMI is: 25.82
The person is: overweight
Powered by