Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
20480d79
authored
Apr 14, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
05fbbb28
Pipeline
#11749
failed in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
diy1.py
diy1.py
View file @
20480d79
import
random
import
random
key
=
"经济数据鏪糙是客从初沉池草卍卍卍草草户不能把的代表"
message
=
input
(
"请输入"
)
key_message
=
""
noise
=
"不会的方式的结合公司的价格不断反复对比"
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
text
=
str1
+
str2
+
str3
key_message
=
key_message
+
text
message
=
"诺伊,周末一起去看电影吧!"
list_message
=
list
(
key_message
)
key
=
"搞大锅法翻盖手机地区的"
index
=
random
.
randint
(
0
,
len
(
key_message
))
do
=
"回复是否关闭还是哈度达到顶峰的律格"
list_message
.
insert
(
index
,
noise
)
B1
=
""
result_message
=
""
.
join
(
list_message
)
for
i
in
message
:
print
(
result_message
)
A1
=
i
A2
=
random
.
choice
(
key
)
A3
=
random
.
choice
(
key
)
A4
=
A1
+
A2
+
A3
B1
=
B1
+
A4
d
=
list
(
B1
)
d
.
insert
(
1
,
do
)
c1
=
" "
.
join
(
d
)
print
(
c1
)
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