##Overview
Write a helper function that takes in a Time object and converts it to a more human-readable format. You need only go up to '_ weeks ago'.
```python
to_pretty(0) => "just now"
to_pretty(40000) => "11 hours ago"
```
##Specifics
 - The output will be an amount of time, t, included in one of the following phrases: "just now", "[t] seconds ago", "[t] minutes ago", "[t] hours ago", "[t] days ago", "[t] weeks ago".
 - You will have to handle the singular cases. That is, when t = 1, the phrasing will be one of "a second ago", "a minute ago", "an hour ago", "a day ago", "a week ago".
 - The amount of time is always rounded down to the nearest integer. For example, if the amount of time is actually 11.73 hours ago, the return value will be "11 hours ago".
 - Only times in the past will be given, with the range "just now" to "52 weeks ago"
def to_pretty(seconds):


    minutes = seconds // 60
    hours = seconds // 3600
    days = seconds // (3600*24)
    weeks = seconds // (3600*24*7)
    
    if weeks == 1:
        return "a week ago"
    if weeks > 1:
        return str(weeks) + " weeks ago"
    if days == 1:
        return "a day ago"
    if days > 1:
        return str(days) + " days ago"
    if hours == 1:
        return "an hour ago"
    if hours > 1:
        return str(hours) + " hours ago"
    if minutes == 1:
        return "a minute ago"
    if minutes > 1:
        return str(minutes) + " minutes ago"
    if seconds == 0:
        return "just now"
    if seconds == 1:
        return "a second ago"
    if seconds > 1:
        return str(seconds) + " seconds ago"
    

    

    

def to_pretty(seconds):


    minutes = seconds // 60
    hours = seconds // 3600
    days = seconds // (3600*24)
    weeks = seconds // (3600*24*7)
    
    if weeks == 1:
        return "a week ago"
    if weeks > 1:
        return str(weeks) + " weeks ago"
    if days == 1:
        return "a day ago"
    if days > 1:
        return str(days) + " days ago"
    if hours == 1:
        return "an hour ago"
    if hours > 1:
        return str(hours) + " hours ago"
    if minutes == 1:
        return "a minute ago"
    if minutes > 1:
        return str(minutes) + " minutes ago"
    if seconds == 0:
        return "just now"
    if seconds == 1:
        return "a second ago"
    if seconds > 1:
        return str(seconds) + " seconds ago"
    

    

    
