Python MP - Removed
Python MP - Removed
A MICRO-PROJECT REPORT ON
“BMI Calculator”
SUBMITED BY:-
ATUL GAIKWAD
ENROLLMENT NO:-
2216620153
UNDER GUIDANCE OF
Prof mrs. TEJASHRI PATIL MA’AM
THIS IS CERTIFY THAT THE MICROPROJECTIS
SUCCESSFULLY SUBMITTED BY,
• Atul Gaikwad
ACKNOWLEDGEMENT
I express our sincere thanks to head of our department and micro – project
guide Mrs. Tejashri Patil Ma’am for their valuable advice and guidance.
I also express our gratitude and thanks to all our teachers and other faculty
members of department computer, P. K. Technical Campus for their sincere
cooperation in completing this micro project.
ABSTRACT
The Python micro project titled "BMI Calculator" aims to create a simple
command-line tool for calculating Body Mass Index (BMI) based on user input
of height and weight. BMI is a commonly used metric to assess an individual's
body composition and is calculated as the weight in kilograms divided by the
square of the height in meters.
Through this micro project, learners will gain hands-on experience in basic
Python programming concepts such as functions, user input handling,
arithmetic operations, conditional statements (if-elif-else), and string
formatting. Additionally, they will understand the practical application of BMI
in assessing weight status and promoting health awareness. This project serves
as an introductory exercise suitable for beginners in Python programming and
can be expanded upon with additional features or user interface enhancements
in future iterations.
lOMoARcPSD|331 214 69
INDEX
SR NO. TOPIC PAGE
NO.
1. Introduction 6-7
4. Output 12-13
7. Conclusion 18
8. References 19
lOMoARcPSD|331 214 69
Introduction
Body Mass Index (BMI) is a measure used to assess an individual's body
weight in relation to their height. It provides a simple numeric
representation of a person's body fatness and helps in categorizing
individuals into different weight status categories such as underweight,
normal weight, overweight, and obese. BMI is calculated by dividing a
person's weight in kilograms by the square oftheir height in meters. It
is widely used in healthcare settings as a screening tool to identify
potential weight-related health risks and guide recommendations for
weight management and overall health improvement.
• Key Features:
1. Simplicity: BMI offers a straight forward and easy-to- understand
method for accessing body weight in relation to height. It involves
simple mathematical calculations and doesn’t require complex
measurement or equipment.
2. Universal Application: BMI can be applied universally across different
populations, age groups, and genders. It serves as a standard measure
for assessing weight status,making it widely applicable in healthcare
settings and research studies.
3. Health Screening Tool: BMI serves as a valuable screening tool for
identifying individuals who may be at risk of weight-related health
problems such as cardiovascular disease, diabetes, and certain
cancers. It helps healthcare professionals in early detection and
intervention.
6
lOMoARcPSD|331 214 69
7
lOMoARcPSD|331 214 69
NEED OF
THE BODY MASS INDEX
The Body Mass Index (BMI) serves several purposes and fulfills
various needs in healthcare and public health. Here are some key
reasons why BMI is important:
9
lOMoARcPSD|331 214 69
10
lOMoARcPSD|331 214 69
•Program Code
def bodymassindex(height_cm, weight):
height_m = height_cm / 100
return round((weight / height_m**2), 2)
print("BMI calculator.")
11
lOMoARcPSD|331 214 69
OUTPUT
• Underweight
• Normal
12
lOMoARcPSD|331 214 69
• Obese
13
lOMoARcPSD|331 214 69
Advantages of BMI
(Body Mass Index)
1. Simple and Easy to Calculate: BMI is calculated
using a straightforward formula based on aperson's
weight and height, making it simple and easy to
calculate without the need for specializedequipment
or measurements.
14
lOMoARcPSD|331 214 69
Disadvantages of BMI
(Body Mass Index)
15
lOMoARcPSD|331 214 69
16
lOMoARcPSD|331 214 69
17
lOMoARcPSD|331 214 69
Conclusion
In conclusion, while BMI (Body Mass Index) serves as a
widely used and convenient measure of body weight
status, it has both advantages and limitations. BMI
provides a simple and standardized method for assessing
weight status and identifying individuals at risk of weight-
related health problems. Its simplicity, universal
applicability, and predictive value for health risks make it
a valuable tool in healthcare and public health practice.
18
lOMoARcPSD|331 214 69
REFERENCE:
www.google.com
www.en.wikipedia.com
www.programmingbasic.com
19