Guest User

Untitled

a guest
May 24th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #Daily Caloric Expenditure Calculator
  2. # To use enter a ALF or Activity Level Factor number of;
  3. # Sedentary - 1.2
  4. # Lightly Active - 1.375
  5. # Moderately Active - 1.55
  6. # Very Active - 1.725
  7. # Extremely Active - 1.9
  8. # Be honest with yourself
  9.  
  10.  
  11. ALF = float(input('Enter your Activity Level Factor: '))
  12. Age = int(input('How old are you?: '))
  13. Weight = int(input('How much do you weigh?: '))
  14. Height = int(input('What is your height in inches?: '))
  15.  
  16.  
  17. DCE = ALF * ((6.25 * Weight) + (12.7 * Height ) - (6.76 * Age)+ 66)
  18. print(f'Your Daily Caloric Expenditure is {DCE:1.0f}'.format(DCE))
Add Comment
Please, Sign In to add comment