Commit 91341fbd by BellCodeEditor

save project

parent aa63c599
Showing with 1 additions and 0 deletions
...@@ -5,6 +5,7 @@ a=[0,33,44,55] ...@@ -5,6 +5,7 @@ a=[0,33,44,55]
b=35 b=35
for i in range(1,len(a)): for i in range(1,len(a)):
if a[i]>b: if a[i]>b:
a.insert(i,b)
break break
print(a) print(a)
......
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