class Health: 
    weight = 0
    height = 0
    age = 0
    
    def __init__(measurements, weight, height, gender, age): 
        measurements.weight = weight
        measurements.height = height
        measurements.gender = gender
        measurements.age = age
        
    def bmi(measurements):
        bmi_temp = (measurements.weight/(measurements.height**2))*703
        if bmi_temp < 18.5:
            print(f"Based on your BMI = {bmi_temp:.2f}, you are considered Underweight")
        elif 18.5 < bmi_temp < 24.9:
            print(f"Based on your BMI = {bmi_temp:.2f}, you are considered Normal")
        elif 25 < bmi_temp < 29.9:
            print(f"Based on your BMI = {bmi_temp:.2f}, you are considered Overweight")
        else:    
            print(f"Based on your BMI = {bmi_temp:.2f}, you are considered Obese")
       # return (measurements.weight/(measurements.height**2))*703
    
    def bmr(measurements):
        bmr_temp_M = 66 + (6.3*measurements.weight) + (12.9*measurements.height) - (6.8*measurements.age)
        bmr_temp_F = 655 + (4.3*measurements.weight) + (4.7*measurements.height) - (4.7*measurements.age)
        if measurements.gender == "M":
            print(f"Based on your BMR = {bmr_temp_M:.2f} here are your recommended caloric intakes per activity level:")
            print(f"Sedentary: little or no exercise = {1.2*bmr_temp_M:.2f} Calories")
            print(f"Lightly Active: exercise/sports 1-3 days/week = {1.375*bmr_temp_M:.2f} Calories")
            print(f"Moderately Active: exercise/sports 3-5 days/week = {1.55*bmr_temp_M:.2f} Calories")
            print(f"Very Active: exercise/sports 6-7 days/week = {1.725*bmr_temp_M:.2f} Calories")
            print(f"Extra Active: exercise daily, or physical job = {1.9*bmr_temp_M:.2f} Calories")
        else:
            print(bmr_temp_F)
            print(f"Based on your BMR = {bmr_temp_F:.2f}, here are your recommended caloric intakes per activity level:")
            print(f"Sedentary: little or no exercise = {1.2*bmr_temp_F:.2f} Calories")
            print(f"Lightly Active: exercise/sports 1-3 days/week = {1.375*bmr_temp_F:.2f} Calories")
            print(f"Moderately Active: exercise/sports 3-5 days/week = {1.55*bmr_temp_F:.2f} Calories")
            print(f"Very Active: exercise/sports 6-7 days/week = {1.725*bmr_temp_F:.2f} Calories")
            print(f"Extra Active: exercise daily, or physical job = {1.9*bmr_temp_F:.2f} Calories")
       
vitals = Health(130, 70.8,"F",48)
vitals.bmi()
Based on your BMI = 18.23, you are considered Underweight
vitals.bmr()
1321.1599999999999
Based on your BMR = 1321.16, here are your recommended caloric intakes per activity level:
Sedentary: little or no exercise = 1585.39 Calories
Lightly Active: exercise/sports 1-3 days/week = 1816.59 Calories
Moderately Active: exercise/sports 3-5 days/week = 2047.80 Calories
Very Active: exercise/sports 6-7 days/week = 2279.00 Calories
Extra Active: exercise daily, or physical job = 2510.20 Calories