def first_missing(items, base, number=0):
    text = base + '_' + str(number)
if text not in items:
    return text
else:
    return first_missing(items, base, number + 1)
Python Lambda Count/Функция цикла