Commit 65164d06 by BellCodeEditor

save project

parent 202a402d
Showing with 20 additions and 6 deletions
message = "" import random
message = "我简隋英哪样不是出类拔萃?"
# 请使用索引的知识,取出message所有元素(不用遍历的方式) key = "hcosuhdfohdfokvjcvwojiwewohwodfhohef"
for i in range(len(message)): for i in message:
print(message[i]) str1 = i
\ No newline at end of file str2 = random.choice(key)
str3 = random.choice(key)
str4 = random.choice(key)
str5 = random.choice(key)
str6 = random.choice(key)
str7 = random.choice(key)
str8 = random.choice(key)
str9 = random.choice(key)
str10 = random.choice(key)
str11 = random.choice(key)
str12 = random.choice(key)
str13 = random.choice(key)
text = str1 + str2 + str3 + str4 + str5 + str6 + str7 + str8 + str9 + str10 + str11 + str12 + str13
print(text)
\ 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