def iterate_until_equal(my_set, drawing_number_algorithm):
    """
    While loop returning numbers of try to draw numbers. We assume if won in first time it is in week 1 not a week 0
    :param drawing_number_algorithm: is algorythm to check data
    :param my_set: set contains numbers without duplicates
    :return: counter(int): counter with number of try
    """
    count = 1
    while my_set != set(drawing_number_algorithm()):
        count += 1
    return count