def enumerate(collection):
        i = 0
        it = iter(collection)
        while 1:
            yield (i, it.next())
            i += 1
Gets all of the achievements in the database.
dataset/ETHPy150Open kdart/pycopia/aid/pycopia/aid.py/enumerate--crossover with--dataset/ETHPy150Open IceCTF/ctf-platform/api/api/achievement.py/get_all_achievements