Skip to content
Snippets Groups Projects
Unverified Commit 798e21ca authored by meng ke's avatar meng ke Committed by GitHub
Browse files

Merge branch 'master' into master

parents 3df9eef6 6426c55b
No related branches found
No related tags found
No related merge requests found
......@@ -186,16 +186,17 @@ def 另起一段():
xx += " "
return xx
for x in xx:
tmp = str()
while ( len(tmp) < 6000 ) :
分支 = random.randint(0,100)
if 分支 < 5:
tmp += 另起一段()
elif 分支 < 20 :
tmp += 来点名人名言()
else:
tmp += random.choice(废话)
tmp = tmp.replace("x",xx)
print(tmp)
if __name__ == "__main__":
xx = input("请输入文章主题:")
for x in xx:
tmp = str()
while ( len(tmp) < 6000 ) :
分支 = random.randint(0,100)
if 分支 < 5:
tmp += 另起一段()
elif 分支 < 20 :
tmp += 来点名人名言()
else:
tmp += random.choice(废话)
tmp = tmp.replace("x",xx)
print(tmp)
\ No newline at end of file
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