Commit fe831757 by BellCodeEditor

save project

parent 8d6cdcc7
Showing with 8 additions and 6 deletions
...@@ -3,8 +3,10 @@ print(message[0:15]) ...@@ -3,8 +3,10 @@ print(message[0:15])
# 请使用索引的知识,取出message所有元素(不用遍历的方式) # 请使用索引的知识,取出message所有元素(不用遍历的方式)
import random import random
key="ahciekdlonbdqushwndaijs" key="ahciekdlonbdqushwndaijs"
for i in range(15): abc=""
str1=random.choice(key) for i in message:
str2=random.choice(key) str1=str(random.choice(key))
text=message[i]+str1+str2 str2=str(random.choice(key))
print(text,end="") str3=i+str1+str2
\ No newline at end of file abc=abc+str3
print(abc)
\ 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