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
798e21ca
Unverified
Commit
798e21ca
authored
Nov 01, 2019
by
meng ke
Committed by
GitHub
Nov 01, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into master
parents
3df9eef6
6426c55b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
自动狗屁不通文章生成器.py
自动狗屁不通文章生成器.py
+15
-13
No files found.
自动狗屁不通文章生成器.py
View file @
798e21ca
...
...
@@ -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
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