def print_dupes(objs):
    last = None
    for n in nice_objects:
        if (n == last):
            print(n)
        last = n
def print_dupes(objs):
    last = None
    for n in nice_objects:
        if (n == last):
            print(n)
        last = n