User Profile
Collapse
-
BMI calculator
I cant run this.
can any one edit it for me?? Thanks
Code:def bmi_calculate(a,b): #a = weight and b = height a, b = input("Enter weight and height seperated by a comma:") bmi = (a * 720) / (b * b) print "the BMI is:" , bmi for n in range (19,25): return 'healthy' if n < 19:
Leave a comment:
-
BMI calculator
Hello
I have just started learning Python and I have so many problem in solving my exercise. I know the answer I have written is not correct. Can any body help me?
the question is:
The body mass index (BMI) is calculated as a person’s weight (in pounds) times 720, divided by the square of the person’s height (in inches). A BMI in the range 19-25, inclusive, is considered healthy. Write a program that calculates a person’s...
No activity results to display
Show More
Leave a comment: