I am having trouble trying to figure out a way to convert the feet to inches and have this still work. i have ran into a brick wall pretty much and could use all the help i could get.
The correct output code is suppose to look like this:
So far my code looks like this, because i can not figure out a way to get it to convert and come out correctly.
any help would be greatly appreciated. thank you in advance!
The correct output code is suppose to look like this:
Code:
What is your height (e.g., 5'8"): what is your weight (in pounds): Your BMI is...
Code:
height = raw_input('''What is your height (e.g., 5'8"): ''')
weight = raw_input('What is your weight (in pounds): ')
BMI = (703 * weight) / (height * height)
print 'Your BMI is %.4f'%(BMI)
raw_input()
Comment