Commit beea0f21 by BellCodeEditor

save project

parent 95f933f4
Showing with 15 additions and 6 deletions
import random
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
i=0 key='1257890qwetuiopASJKLzxvmdfjjuygjvcdryuk'
while i<len(message): # 请使用索引的知识,取出message所有元素(不用遍历的方式)
print(message[i]) l=''
i+=1 for i in message:
# 请使用索引的知识,取出message所有元素(不用遍历的方式) a=i
\ No newline at end of file b=random.choice(key)
c=random.choice(key)
d=a+b+c
l=l+d
print(l)
sum=0
for i in range(101):
sum=sum+i
print(sum)
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