Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions

Question

Evaluate employees readiness for training. page 275

Answered: 1 week ago