def wif_iter(iters):
    while (len(iters) > 0):
        for (idx, iter) in enumerate(iters):
            try:
                wif = next(iter)
                (yield wif)
            except StopIteration:
                iters = (iters[:idx] + iters[(idx + 1):])
                break
def wif_iter(iters):
    while (len(iters) > 0):
        for (idx, iter) in enumerate(iters):
            try:
                wif = next(iter)
                (yield wif)
            except StopIteration:
                iters = (iters[:idx] + iters[(idx + 1):])
                break