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.
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:
Functions
User Input
Type conversion
Conditionals
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