Commit 4d2d9051 by BellCodeEditor

save project

parent f98b635c
Showing with 14 additions and 2 deletions
...@@ -12,4 +12,16 @@ print(a) ...@@ -12,4 +12,16 @@ print(a)
s=['袁术','夏侯惇','曹操','关羽'] s=['袁术','夏侯惇','曹操','关羽']
b=["文良","是"] b=["文良","是"]
c=s+b c=s+b
print(c) print(c)
\ No newline at end of file
a=[0,1,2,3,4,5]
print(a[2:-1:1])
a=['erer',1,2,3,4,5,7]
d=11
for i in range(1,len(a)):
if a[i]>b:
a.insert(i,b)
break
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