top of page

Python BMI Calculator

  • Werner
  • Jun 15, 2019
  • 1 min read

I've been doing 2 Python courses from Udemy simultaneously. One of them is "The Python Mega Course" and the other is "Automate the Boring Stuff with Python Programming".


I've been doing a little preparations for my triathlon training (which kicks of next week) and part of the preparations was taking my measurements and weight and all those "admin" things and then I thought I'll apply what I learned the last couple of days with my course and make a Python program that calculates my BMI.


BMI Calculator Source Code | Click to go to download link

While doing my research on how to calculate your BMI I found several sources that state BMI is not very accurate so I added Waist-to-Hip Ratio calculation as well.


The program uses the following things I've learned so far:

  1. Functions

  2. User Input

  3. Type conversion

  4. Conditionals

  5. Print formatting

If you want to download the file and test it out for yourself you can download the source code here.


* Note that you need Python 3 installed on your computer in order for it to work properly





Comments


© 2019 Plasticity of Me. Proudly created with Wix.com

This is me
AboutMe.jpg
I love learning and trying new things. This blog is all about me exploring the world around me and increasing my skills along the way.

Thanks for submitting!

All vector images created by freepik

  • Instagram
bottom of page