Commit e9f02511 by BellCodeEditor

auto save

parent 70135c75
Showing with 16 additions and 2 deletions
import random
e = "你真帅哦"
key = "今天吃什么请使用索引的知识,取出message所有元素(不用遍历的方式)诺依,周末一起去看动漫展吧!print (aa=message[i])for i in range"
number= "123456"
for i in e :
n=int(random.choice(number))
for a in range (n):
key1 = random.choice(key)
print (key1,end="")
print q(i,end="")
\ No newline at end of file
message = "诺依,周末一起去看动漫展吧!"
# 请使用索引的知识,取出message所有元素(不用遍历的方式)
print (message[0])
print (message[len(message)-1])
for i in range
a=message[i]
print (a)
\ 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