Commit 3f6f7560 by BellCodeEditor

save project

parent 474ef7e9
Showing with 3 additions and 3 deletions
import random
# 私钥
key = "abcdefghijklmnopqrstuvwxyz"
key = "abcdefghijklmnopqrstuvwxyz "
# 要加密语句
message = "I Hate you"
newmessage = ""
......@@ -14,8 +14,8 @@ for i in message:
d = a + b + c
newmessage = newmessage + d
listmessage = list(newmessage)
listmessage.insert(5, "a.s.c.z.s.d.a.s.d.s.a.s.d.w.a.s.d.a")
finalmessage = ".".join(listmessage)
listmessage.insert(5, "you are good")
finalmessage = "".join(listmessage)
print(finalmessage)
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