Skip to content
Snippets Groups Projects
Commit eafaf3ce authored by Sunbread's avatar Sunbread
Browse files

允许一定局域重复(可调参)

parent 792d8c08
No related branches found
No related tags found
No related merge requests found
......@@ -174,8 +174,11 @@ xx = "学生会退会"
"说过一句富有哲理的话",
]
重复度 = 2
def 洗牌遍历(列表):
= list(列表)
global 重复度
= list(列表) * 重复度
while True:
random.shuffle()
for 元素 in :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment