TORONTO KIDS COMPUTER CLUB | PMCA Saturday 18:30 Python Homework 21.10.16.
19990
post-template-default,single,single-post,postid-19990,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

PMCA Saturday 18:30 Python Homework 21.10.16.

22 Oct PMCA Saturday 18:30 Python Homework 21.10.16.

Question:
Create a new flask application or continue with the old one. Make a calculator to the BMI using a flask. Make an html file which contains the form to input the height and weight of the person in meters and kilograms. Then based on the input, calculate the BMI using the below formula:

BMI = weight / (height * height)

Also, based on the BMI, display whether the person is overweight, Normal and underweight.

If bmi is more than 25, then the person is overweight

If bmi is less than 18.5, the the person is underweight

Otherwise, the person is Normal.

No Comments

Sorry, the comment form is closed at this time.