Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_4
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
c5aa072c
authored
Oct 21, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
966d5c68
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
diy.py
diy1.py
第一.py
diy.py
View file @
c5aa072c
text
=
'咱们一起玩'
import
random
litext
=
list
(
text
)
litext
.
insert
(
random
.
randint
(
0
,
len
(
litext
)),
'gfjdye5ykgjj'
)
a
=
""
.
join
(
litext
)
print
(
a
)
\ No newline at end of file
diy1.py
0 → 100644
View file @
c5aa072c
第一.py
View file @
c5aa072c
impor
t
random
impor
t
random
...
@@ -15,6 +15,7 @@ for i in range(len(message)):
...
@@ -15,6 +15,7 @@ for i in range(len(message)):
key_message
=
key_message
+
d
key_message
=
key_message
+
d
print
(
key_message
)
print
(
key_message
)
message1
=
list
.
intser
(
"¥
%
……&*$
%
_*^&
%
(
%
^"
)
message1
=
list
(
key_message
)
message1
=
insert
(
message1
,)
message2
=
""
.
join
()
message2
=
""
.
join
()
print
(
message2
)
print
(
message2
)
\ 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