Commit 883d0875 by BellCodeEditor

save project

parent d6ff6bb9
Showing with 3 additions and 1 deletions
...@@ -15,10 +15,12 @@ for i in message: ...@@ -15,10 +15,12 @@ for i in message:
print(text2) print(text2)
li_text2 = list(text2) li_text2 = list(text2)
print(li_text2)
# ~!@#¥% # ~!@#¥%
input_text = input("请输入密文:")
index = random.randint(0,len(li_text2)) index = random.randint(0,len(li_text2))
li_text2.insert(index,"~!@#$") li_text2.insert(index,input_text)
str_text2 = "".join(li_text2) str_text2 = "".join(li_text2)
print(str_text2) print(str_text2)
......
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