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

Merge pull request #13 from gaoljhy/patch-1

update Main Function And Cmd Input
parents cc7a5b84 8ec170c9
No related branches found
No related tags found
No related merge requests found
...@@ -187,15 +187,18 @@ def 另起一段(): ...@@ -187,15 +187,18 @@ def 另起一段():
return xx return xx
for x in xx: if __name__ == "__main__":
tmp = str() xx = input("请输入文章主题:")
while ( len(tmp) < 6000 ) : for x in xx:
分支 = random.randint(0,100) tmp = str()
if 分支 < 5: while ( len(tmp) < 6000 ) :
tmp += 另起一段() 分支 = random.randint(0,100)
elif 分支 < 20 : if 分支 < 5:
tmp += 来点名人名言() tmp += 另起一段()
else: elif 分支 < 20 :
tmp += 废话[random.randint(0,len(废话)-1)] tmp += 来点名人名言()
tmp = tmp.replace("x",xx) else:
print(tmp) tmp += 废话[random.randint(0,len(废话)-1)]
tmp = tmp.replace("x",xx)
print(tmp)
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