top of page
learn_data_science.jpg

Data Scientist Program

 

Free Online Data Science Training for Complete Beginners.
 


No prior coding knowledge required!

BMI calculator


Body Mass Index (BMI) is a measurement of a person's weight with respect to his or her height. It is more of an indicator than a direct measurement of a person's total body fat. BMI, more often than not, correlates with total body fat. This means that as the BMI score increases, so does a person's total body fat


I started by taking the height and weight of the user

#height in float

height = float(input("Height(m): "))

#weight in float

weight = float(input("Weight(kg): "))


As seen from the code snippet above, the height is in meters and weight in kilograms


I then calulated the Body Mass Index using the code snippet below


#calculating the body mass index

bmi = (weight)/(height*height)


The bmi is then calculated and printed to the screen to three decimal places to make it more practical

print(f"Body Mass Index is {round(bmi,3)}")

The code snippet above prints the resulting output to the screen




 
 
 

Comentarios


COURSES, PROGRAMS & CERTIFICATIONS

 

Advanced Business Analytics Specialization

Applied Data Science with Python (University of Michigan)

Data Analyst Professional Certificate (IBM)

Data Science Professional Certificate (IBM)

Data Science Specialization (John Hopkins University)

Data Science with Python Certification Training 

Data Scientist Career Path

Data Scientist Nano Degree Program

Data Scientist Program

Deep Learning Specialization

Machine Learning Course (Andrew Ng @ Stanford)

Machine Learning, Data Science and Deep Learning

Machine Learning Specialization (University of Washington)

Master Python for Data Science

Mathematics for Machine Learning (Imperial College London)

Programming with Python

Python for Everybody Specialization (University of Michigan)

Python Machine Learning Certification Training

Reinforcement Learning Specialization (University of Alberta)

Join our mailing list

Data Insight participates in affiliate programs and may sometimes get a commission through purchases made through our links without any additional cost to our visitors.

bottom of page