Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / lesson7_2

  • This project
    • Loading...
  • Sign in
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 f848fc77 authored a year ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent e5ba75a4
Hide whitespace changes
Inline Side-by-side
Showing with 9 additions and 1 deletions
  • diy2.py
diy2.py
View file @ f848fc77
......@@ -2,6 +2,7 @@ m = "妈妈母情节快乐!"
import random
# 请对message进行遍历,取出所有元素
key = "关于推断出远古给桃花谷韩剧韩国举报规划 "
key2 = "@#$%!@#$%^&*()!"
t = ""
for i in m:
str1 = i
......@@ -9,5 +10,11 @@ for i in m:
str3 = random.choice(key)
text = str1+str2+str3
t = t+text
print(t)
listm = list(m)
index = random.randint(0,len(listm))
listm.insert(index,key2)
m = "".join(listm)
print(m)
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment