Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_3
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
cf923b3d
authored
Jun 18, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
f15499ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
diy3.py
diy3.py
View file @
cf923b3d
import
random
import
random
message
=
"我简隋英哪样不是出类拔萃?"
message
=
"我简隋英哪样不是出类拔萃?"
key
=
"hco或是hfdgid碍手碍脚dsfgsididgsdgv是第一个发g晒u十分火爆的suhdfo大黄蜂嘎hdf士sdsf大夫okvj啊是房改房cvwojiwewohwodfhohef"
key
=
"suhdfo大黄蜂嘎hdf士sdsf大夫o啊是房改房cvwojiwfhohef"
w
=
"jianglilaoerejililaoerlilanggejlilaoeriangejiange"
list1
=
list
(
message
)
list1
=
list
(
message
)
index1
=
random
.
randint
(
0
,
len
(
list1
))
list1
.
insert
(
index1
,
w
)
a
=
"hi jianbao"
.
join
(
list1
)
a
=
"hi jianbao"
.
join
(
list1
)
print
(
a
)
print
(
a
)
\ 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