Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson6-2
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
6442ba5a
authored
Aug 04, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
0c0dfac7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
ll.py
ll.py
View file @
6442ba5a
import
random
message
=
"诺伊,周末去动漫展玩吧!"
i
=
0
while
i
<
len
(
message
):
element
=
message
[
i
]
i
+=
1
print
(
element
)
\ No newline at end of file
key
=
"qws,dfghj,thgfredg胡呀"
key_message
=
""
for
i
in
message
:
test1
=
i
test2
=
random
.
choice
(
key
)
test3
=
random
.
choice
(
key
)
test
=
test1
+
test2
+
test3
key_message
=
key_message
+
test
print
(
key_message
)
\ 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