Commit c9b27314 by BellCodeEditor

save project

parent b6a295cf
Showing with 4 additions and 3 deletions
......@@ -3,7 +3,7 @@ import random
key = "i回顾然后人货梯融合牛头偶就屁哦gfihoit返回给httrd 挺好"
message = input("周末一起去植物园玩")
message = input("请输入需要加密的一句话:")
key_message = ""
......@@ -17,8 +17,8 @@ for i in message:
list_message = list(key_message)
index = random.randintr(0,len(key_message))
index = random.randint(0,len(key_message))
list_message.insert(index,noise)
result_message = "",join(list_message)
result_message = "".join(list_message)
print(result_message)
\ 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