Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Recolic
chinese-obfs
Commits
1c7c1fb6
Commit
1c7c1fb6
authored
Apr 30, 2021
by
Recolic K
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the noob code better
parent
d3743419
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
bullshit.py
bullshit.py
+3
-4
No files found.
bullshit.py
View file @
1c7c1fb6
...
@@ -17,6 +17,8 @@ prefix_data = list(data['before']) # 在famous_data前面弄点nonsense_data
...
@@ -17,6 +17,8 @@ prefix_data = list(data['before']) # 在famous_data前面弄点nonsense_data
postfix_data
=
list
(
data
[
'after'
])
# 在famous_data后面弄点nonsense_data
postfix_data
=
list
(
data
[
'after'
])
# 在famous_data后面弄点nonsense_data
nonsense_data
=
list
(
data
[
'bosh'
])
# 代表文章主要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
repeat_factor
=
2
def
randomized_yield
(
iterable
):
def
randomized_yield
(
iterable
):
...
@@ -38,10 +40,7 @@ def new_famous():
...
@@ -38,10 +40,7 @@ def new_famous():
return
famous
return
famous
def
new_paragraph
():
def
new_paragraph
():
xx
=
". "
return
".
\r\n
"
xx
+=
"
\r\n
"
xx
+=
" "
return
xx
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
topic
=
input
(
"请输入文章主题:"
)
topic
=
input
(
"请输入文章主题:"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment