# Calculates the user's age in minutes and seconds in python, programming help

Anonymous
account_balance_wallet \$10

### Question Description

1. Calculates the user's age in minutes and seconds. (exact time, i mean you should use the actual date that the user put the month, year and day.( see testers))
2. Estimates the approximate number of times the user's heart has beat in his/her lifetime using an average heart rate of 72 beats per minute.
3. Estimates the number of times the person has sneezed in his/her lifetime.  (Use the average 1.2 sneezes per day)
4. Estimates the number of calories that the person has expended in his/her lifetime (research on the Internet to obtain a daily estimate. Also calculate the number of sandwiches (or other common food item) that equals that number of calories (use the average 1620 cal/ day)
5. Be creative: Pick two other interesting health-related statistics. Try searching the Internet to determine how to calculate that data, and create a program to perform that calculation. The program can ask the user to enter any information needed to perform the calculation.
TESTERS
```TEST #1:

Enter your birth month (1-12): 5

Enter your birth day (1-31): 30

Enter your birth year (<= 2016): 2016

You have been alive for a little over 2496 mins and 51 seconds.
By the end of today you will have sneezed about 2 times
You will also have expended about 3240 calories
That is about 7 grilled chicken sandwiches!

TEST #2:

Enter your birth month (1-12): 5

Enter your birth day (1-31): 3

Enter your birth year (<= 2016): 1997

You have been alive for a little over 9890977 mins and 18 seconds.
By the end of today you will have sneezed about 8210 times
You will also have expended about 11084040 calories
That is about 26453 grilled chicken sandwiches!

```

priya1
School: University of Maryland

import timeimport datetimestrMonth = input("Enter your birth month (1-12): ")strDay = input("Enter your birth day (1-31): ")strYear = input("Enter your birth year (<= 2016): ")month = int(strMonth)day = int(strDay)year = int(strYear)birthdate = datetime.datetime(year=year, month=month, day=day)today = datetime.datetime.now()difference = (today - birthdate)minutes = int(difference.total_seconds() / 60)seconds = int(difference.total_seconds() % 60)days = int(difference.t...

flag Report DMCA
Review

Anonymous
Thanks, good work

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors