Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Filename: assign 2 - 7 . py Write a program that takes a person's name, height in inches, and weight in pounds as input, computes

Filename:
assign2-7.py
Write a program that takes a person's name, height in inches, and weight in pounds as input, computes the BMI (
assign1-3.py), and print the weight status based on the following table.
\table[[BMI,weight status],[below 18.5,underweight],[18.5-24.9,healthy weight],[25.0-29.9,overweight],[30.0 or more,obesity]]
Input:
Output:
a) Neda's BMI: 19.97, healthy weight
b) Joe's BMI: 27.89, overweight
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions

Question

=+j Explain the essential nature of repatriation.

Answered: 1 week ago