Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Daily Caloric Expenditure Calculator
- # To use enter a ALF or Activity Level Factor number of;
- # Sedentary - 1.2
- # Lightly Active - 1.375
- # Moderately Active - 1.55
- # Very Active - 1.725
- # Extremely Active - 1.9
- # Be honest with yourself
- ALF = float(input('Enter your Activity Level Factor: '))
- Age = int(input('How old are you?: '))
- Weight = int(input('How much do you weigh?: '))
- Height = int(input('What is your height in inches?: '))
- DCE = ALF * ((6.25 * Weight) + (12.7 * Height ) - (6.76 * Age)+ 66)
- print(f'Your Daily Caloric Expenditure is {DCE:1.0f}'.format(DCE))
Add Comment
Please, Sign In to add comment