Advertisement
Guest User

Python BMR Calc

a guest
Feb 20th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. def maleBmr(height,weight,age):
  2. height = float(2.54 * int(input('How tall are you in inches: ')))
  3. weight = float(0.454 * int(input('What is your weight in lbs: '))
  4. age = float(int(input('What is your age: ')))
  5. bmr = (447.593 + (9.247 * weight) + (3.098 * height) - (4.330 x age))
  6. print('Your Basil Metabolic Rate is ' + str(bmr) + "calories per day.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement