def has_duplicates(t):
    # Old Code
    # tmp = []
    # for i in t:
    #     tmp.append(i)
    # Worked solution this way because I didn't think to just use days 1-365 and instead
    # chose to work with strings like 'mm-dd'. I think the nested conditional is
    # particularly gross, especially given the knowledge that strings can be sorted
    # for i in t:
    #     if i in tmp:
    #         tmp.remove(i)
    #         if i in tmp:
    #             print(i)
    #             return True
    # Added or modified after looking at author's solution
    """
    Determine if any duplicates exist in a given list (t). Return True if so, otherwise
    return False. The given list is unaltered.
    """
    tmp = t[:]
    tmp.sort()
    for i in range(len(tmp) - 1):
        if tmp[i] == tmp[i+1]:
            return True
    return False