发言四
while len(result)<number:
seed=random.randn()
if seed<-1.5:
result=result+tit
notion_flag=1
elif seed<-1 and notion_flag==1:
nseed=random.randint(0,len(notion_list))
curr_n=notion_list[nseed]
result=result+curr_n
notion_flag=0
elif seed<4:
iseed=random.randint(0,len(idiom_list))
curr_i=idiom_list[iseed]
result=result+curr_i
notion_flag=1
elif seed<5:
cseed=random.randint(0,len(concate_list))
curr_c=concate_list[cseed]
result=result+curr_c
notion_flag=1
elif seed>5:
result+='\n'
notion_flag=0
while len(result)<number:
seed=random.randn()
if seed<-1.5:
result=result+tit
notion_flag=1
elif seed<-1 and notion_flag==1:
nseed=random.randint(0,len(notion_list))
curr_n=notion_list[nseed]
result=result+curr_n
notion_flag=0
elif seed<4:
iseed=random.randint(0,len(idiom_list))
curr_i=idiom_list[iseed]
result=result+curr_i
notion_flag=1
elif seed<5:
cseed=random.randint(0,len(concate_list))
curr_c=concate_list[cseed]
result=result+curr_c
notion_flag=1
elif seed>5:
result+='\n'
notion_flag=0
while len(result)<number:
seed=random.randn()
if seed<-1.5:
result=result+tit
notion_flag=1
elif seed<-1 and notion_flag==1:
nseed=random.randint(0,len(notion_list))
curr_n=notion_list[nseed]
result=result+curr_n
notion_flag=0
elif seed<4:
iseed=random.randint(0,len(idiom_list))
curr_i=idiom_list[iseed]
result=result+curr_i
notion_flag=1
elif seed<5:
cseed=random.randint(0,len(concate_list))
curr_c=concate_list[cseed]
result=result+curr_c
notion_flag=1
elif seed>5:
result+='\n'
notion_flag=0