Commit ca9f3fad by BellCodeEditor

save project

parent eb1c8891
Showing with 10 additions and 4 deletions
i =1 students=["悟空","小贝","八戒","波奇"]
for a in range(1,100000,5): students.pop(3)
print(a,'*', i,'=',(a*i),end="\n") print(students)
\ No newline at end of file students.append("诺伊")
print(students)
red=students[:2]
print(red)
blue=students[-2:]
print(blue)
\ 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