Question
write python code and screenshoot the python code for me. Mifflin St Jeor formula: Men 10 x weight (kg) + 6.25 x height (cm) 5
write python code and screenshoot the python code for me.
Mifflin St Jeor formula:
Men 10 x weight (kg) + 6.25 x height (cm) 5 x age (y) + 5
Women 10 x weight (kg) + 6.25 x height (cm) 5 x age (y) 161.
Example of How the Assistant Runs:
A: Welcome to the Calorie Intake Assistant, my name is Cal. What is your name?
U: Jane
A: Great Jane, lets start! What is your gender? Enter M for male or F for female.
U: xxx
A: Im sorry, I cannot understand. What is your gender? Enter M for male or F for female.
U: f
A: What is your age in years?
U: abd
A: Im sorry, I cannot understand. What is your age in years?
U: 0
A: Im sorry, I cannot understand. What is your age in years?
U: 25
A: What is your current weight in kg?
U: 59
A: What is your height in cm?
U: 150
A: Thank you for the information Jane!
A: Considering the details given, your daily recommended intake is of 1241.5 calories per day.
A: Lets see how healthy your meals were last week.
A: Day 1: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 2
A: Day 2: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 5
A: Im sorry, I cannot understand. Day 2: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 1
A: Day 3: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 2
A: Day 4: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 3
A: Day 5: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 3
A: Day 6: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 3
A: Day 7: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 4
Example of How the Assistant Runs:
A: Welcome to the Calorie Intake Assistant, my name is Cal. What is your name?
U: Jane
A: Great Jane, lets start! What is your gender? Enter M for male or F for female.
U: xxx
A: Im sorry, I cannot understand. What is your gender? Enter M for male or F for female.
U: f
A: What is your age in years?
U: abd
A: Im sorry, I cannot understand. What is your age in years?
U: 0
A: Im sorry, I cannot understand. What is your age in years?
U: 25
A: What is your current weight in kg?
U: 59
A: What is your height in cm?
U: 150
A: Thank you for the information Jane!
A: Considering the details given, your daily recommended intake is of 1241.5 calories per day.
A: Lets see how healthy your meals were last week.
A: Day 1: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 2
A: Day 2: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 5
A: Im sorry, I cannot understand. Day 2: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 1
A: Day 3: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 2
A: Day 4: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 3
A: Day 5: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 3
A: Day 6: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 3
A: Day 7: were your meals very unhealthy (1), unhealthy (2), healthy (3), or very healthy (4)? Enter the corresponding number.
U: 4
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started