Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve the code in python.You are one of the gym instructors at AmiKenoMota. You decide to provide a customized diet and exercise plan based

Please solve the code in python.You are one of the gym instructors at AmiKenoMota. You decide to provide a
customized diet and exercise plan based on the BMI of an individual. You measure
the weight in kilograms and the height in meters and calculate the BMI before a
plan can be decided. Write a BMI function that takes in two values, weight in kg
and height in cm, and print the score along with the condition. (Make sure to
convert cm into m before calculation)
BMI(height, weight)
BMI=kgm2
Based on the BMI score, return the following output.
18.5- Underweight
18.5-24.9- Normal
25-30- Overweight
>30- Obese
Sample Output
Score is 31.3. You are Obese
Score is 20.8. You are Normal
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

Transactions On Large Scale Data And Knowledge Centered Systems Xxviii Special Issue On Database And Expert Systems Applications Lncs 9940

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Qimin Chen

1st Edition

3662534541, 978-3662534540

More Books

Students also viewed these Databases questions