m
Size: a a a
ИВ
ИВ
ИВ
ИВ
Z
ИВ
elem_list = [....]
result = []
for comb_num in range(2500):
successful_generate = False
while not successful_generate:
combination = random.sample(elem_list, k=7)
if combination not in result:
result.append(combination)
successful_generate = TrueСамое тривиальное решение.
ИВ
ИВ
A
ИВ
A
AC