Commit 72e67ee4 by BellCodeEditor

save project

parent dedb5017
Showing with 25 additions and 2 deletions
import random
key="abcdefgh迪斯科飞机喀什的脑袋v不能马上打包v你的v发电机房那绝对是!"
message=input("请输入:")
key_message=""
noise="!@#$%^&*"
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
text=str1+str2+str3
key_message=key_message+text
list_message=list(key_message)
index=random.randint(0,len(key_message))
list_message.insert(index,noise)
result_message="".join(list_message)
print(result_message)
\ No newline at end of file
{"第1名": 0, "第2名": 0, "第3名": 0}
\ No newline at end of file
import random
key="信息加密好酷"
str=random.choice(key)
print(key)
\ No newline at end of file
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