Commit 9a779346 by BellCodeEditor

save project

parent 559fef77
Showing with 30 additions and 3 deletions
message = "诺依,周末一起去看动漫展吧!"
# 请使用索引的知识,取出message所有元素(不用遍历的方式)
\ No newline at end of file
# 请使用索引的知识,取出message所有元素(不用遍历的方式)
a=message[1]
print(a)
b=message[2]
print(b)
c=message[3]
print(c)
d=message[4]
print(d)
e=message[5]
print(e)
f=message[6]
print(f)
g=message[7]
print(g)
h=message[8]
print(h)
i=message[9]
print(i)
j=message[10]
print(j)
k=message[11]
print(k)
l=message[12]
print(l)
m=message[13]
print(m)
n=message[14]
print(n)
\ 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