Skip to content
Snippets Groups Projects
Commit 1c7c1fb6 authored by Bensong Liu's avatar Bensong Liu
Browse files

make the noob code better

parent d3743419
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,8 @@ prefix_data = list(data['before']) # 在famous_data前面弄点nonsense_data
postfix_data = list(data['after' ]) # 在famous_data后面弄点nonsense_data
nonsense_data = list(data['bosh' ]) # 代表文章主要nonsense_data来源
print("debug: len=", [len(l) for l in [famous_data, prefix_data, postfix_data, nonsense_data]])
repeat_factor = 2
def randomized_yield(iterable):
......@@ -38,10 +40,7 @@ def new_famous():
return famous
def new_paragraph():
xx = ". "
xx += "\r\n"
xx += " "
return xx
return ". \r\n "
if __name__ == "__main__":
topic = input("请输入文章主题:")
......
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