HW5Q1

 avatar
user_7676782
python
a year ago
300 B
1
Indexable
Never
import Diet as diet


def main():
    # define a object
    patient = diet.Diet(1998, "male")

    for i in range(5):
        patient.eat_more()
        print(patient)

    for i in range(5):
        patient.eat_less()
        print(patient)


if __name__ == '__main__':
    main()