Commit 621064d0 by BellCodeEditor

save project

parent 0c748392
Showing with 13 additions and 9 deletions
import random # import random
key="信息加密好酷呀" # key="信息加密好酷呀"
str=random.choice(key) # str=random.choice(key)
print(str) # print(str)
\ No newline at end of file text='周末一起去欢乐谷吧'
li_text=list(text)
print(li_text)
\ No newline at end of file
...@@ -8,6 +8,7 @@ for i in message: ...@@ -8,6 +8,7 @@ for i in message:
str2=random.choice(key) str2=random.choice(key)
str3=random.choice(key) str3=random.choice(key)
text=text+str1+str2+str3 text=text+str1+str2+str3
#key_message=key_message+text text2=list(text)
#print(key_message) text2.insert(2,"歌546fsef谁%^&哦") #key_message=key_message+text
print(text) text3="".join(text2)
\ No newline at end of file print(text3)
\ 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