diff --git a/diy2.py b/diy2.py index 793a257..682a864 100644 --- a/diy2.py +++ b/diy2.py @@ -2,10 +2,14 @@ import random key ="jidlfhksfoiuszjglidghsrgi,dhglxfgjhrj" message = "诺依,周末一起去看动漫展吧!" key_message="" +noise=luivfdhvshvo for i in message: str1=i str2=random.choice(key) str3=random.choice(key) text=str1+str2+str3 key_message=key_message+text -print(key_message) \ No newline at end of file +list_message=list(key_message) +list_message="".join(list_message) +result_message="".join(list_message) +print(result_message) \ No newline at end of file