Day 21 of documentating my learning Journey
dev.to·1d·
Discuss: DEV
Flag this post

What I did Today 1.I built a simple BMI Calculator app that calculates your BMI based on your weight and height.

On what I did Today 1.I was trying to impliment building a calculator app by using a function. 2.Only need to know the formula for calculating the BMI which is: BMI = (Weight/ height **2)

3.The only thing remaining is for you to dictate the flow of the program.

4.By this is you define the function, ask the user to input their weight and height , calculate the BMI , display the output.

5 One can go ahead and add other functionalities like if-else statement to check if you’re underweight, overweight or normal

Link to the project on github: [([https://github.com/yfwjay/python-concepts/tree/week-three/week-three/Day2)](https://github.com/yfwjay/python-c…

Similar Posts

Loading similar posts...