Skip to content

Conversation

Natam98
Copy link
Collaborator

@Natam98 Natam98 commented Jun 24, 2024

No description provided.


if gender=="female":
bmr=655.1+(9.6*weight)+(1.9*height)-(4.7*age)
else:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if gender=="pippo"?

daily_calories=bmr*1.375
elif activity_level=="moderate":
daily_calories=bmr*1.55
else:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if activity_level=="pippo"?


#MEAL PLAN GENERATION
#Breakfast food list with nutritional information in 100 gr
skim_milk_calories="34 Kcal"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you don't want to change the variable's value, it's not a variable, it's a constant (only uppercase)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants