Commit 5c4b763f by BellCodeEditor

save project

parent 6c11af09
Showing with 8 additions and 9 deletions
......@@ -6,11 +6,11 @@ key = "abcdefgh使用编程实现ä½ç§»æ›¿æ¢åŠ å¯†ï¼Œåˆ¶ä½œå¯†ç æœºå…³çœŸæ˜¯å¤
message = "诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
text=str1+str2+str3
##l1.insert(5,"port:@#$%^&")
#l2="".join(l1)
#print(l2)
\ No newline at end of file
# for i in message:
# str1=i
# str2=random.choice(key)
# str3=random.choice(key)
# text=str1+str2+str3
list_text=list(message)
list_text.insert(5,"port:@#$%^&")
print("".join(list_text))
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