Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Dates and Times in Python (2014) Dates and Times Timedelta Minute

Ashley Keeling
Ashley Keeling
11,476 Points

i dont get timedelta, minutes question

i dont understand how it is phrased and how to round

minutes.py
import datetime

def minutes(datetime):
    now = datetime.datetime.now()
    time = timedelta.total_seconds()

1 Answer

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 68,441 Points

Hi Ashley Keeling, this question is similar to this one you've posted. Please don't post multiple separate questions regarding the same challenge. Instead, please edit or amend posts using comments like "here's where I'm at now" with new code, or other refinements to your original question.

When multiple questions are asked about the same challenge, the older posts get abandoned since the original author has moved on to a slightly different problem, which then eats up time for others by them trying to solve a problem or answer a question that is no longer needed.

I'm not trying to discourage you from posting to the forum at all! I am trying to reduce the workload of those answering questions. Thanks!

Ashley Keeling
Ashley Keeling
11,476 Points

i posted twice because i thought i didn't post it right sorry of any issues thanks