Commit 4f2fcf1f by BellCodeEditor

save project

parent 9766cf25
Showing with 4 additions and 3 deletions
...@@ -15,7 +15,8 @@ for i in message: ...@@ -15,7 +15,8 @@ for i in message:
key_mes=key_mes+text key_mes=key_mes+text
list_mes = list(key_mes) list_mes = list(key_mes)
list_mes.insert(5,noise) index = random.randint(0,len(key_mes))
result_ = "".join(list_mes) list_mes.insert(index,noise)
print(key_mes) result_mes= "".join(list_mes)
print(result_mes)
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