import random
project = "" ##可以向可选池注入变量
##可选池
con_list = [f"AAA{project}AAA", "BBBB", "CCCC", "DDDD", f"EE{project}EEEE","FFFF", "GGGG","HHHH", "IIII","JJJJ"]
#取30次
for i in range(30):
##从可选池随机选取5个元素
l1 = random.sample(con_list,5)
##将选出的元素随机排序
random.shuffle(l1)
##按序号进行枚举
for ind, content in enumerate(l1, start=1):
print(f"({ind}) {content}")
print("\n")
结果: