Commit beea0f21 by BellCodeEditor

save project

parent 95f933f4
Showing with 14 additions and 4 deletions
import random
message = "诺依,周末一起去看动漫展吧!"
i=0
while i<len(message):
print(message[i])
i+=1
key='1257890qwetuiopASJKLzxvmdfjjuygjvcdryuk'
# 请使用索引的知识,取出message所有元素(不用遍历的方式)
l=''
for i in message:
a=i
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