Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_6
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
4a1ebe67
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
3c1a29e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
diy.py
diy3.py
diy4.py
diy.py
0 → 100644
View file @
4a1ebe67
This diff is collapsed.
Click to expand it.
diy3.py
0 → 100644
View file @
4a1ebe67
a
=
"1234567890"
b
=
list
(
a
)
b
.
insert
(
random
.
randint
(
0
,
len
(
b
)))
c
=
""
.
join
(
b
)
print
(
c
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
diy4.py
View file @
4a1ebe67
...
@@ -13,10 +13,10 @@ for i in range(len(message)):
...
@@ -13,10 +13,10 @@ for i in range(len(message)):
d
=
a
+
b
+
c
d
=
a
+
b
+
c
key_message
=
key_message
+
d
key_message
=
key_message
+
d
print
(
key_message
)
print
(
key_message
)
for
i
in
range
(
12
):
for
i
in
range
(
5
):
a
=
list
(
key_message
)
c
=
list
(
key_message
)
a
.
insert
(
random
.
randint
(
0
,
len
(
a
)),
"¥
%
……&*$
%
_*^&
%
(
%
^"
)
c
.
insert
(
random
.
randint
(
0
,
len
(
c
)),
"¥
%
……&*$
%
_*^&
%
(
%
^"
)
c
=
key_message
+
a
b
=
""
.
join
(
c
)
d
=
""
.
join
(
c
)
print
(
b
)
print
(
d
)
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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