Commit dd6a8441 by BellCodeEditor

save project

parent cfd3c4b4
Showing with 5 additions and 4 deletions
...@@ -13,10 +13,11 @@ for i in message: ...@@ -13,10 +13,11 @@ for i in message:
str3=random.choice(key) str3=random.choice(key)
a=str1+str2+str3 a=str1+str2+str3
key_message=key_message+a key_message=key_message+a
list_message=list(key_message) list_message=list(key_message)
list_message.append(b) q=random.randint(0,len(key_message))
c_message="".join(list_message) list_message.insert(q,b)
print(key_message) c_message="".join(list_message)
print(c_message)
......
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