Commit ba0321ce by BellCodeEditor

save project

parent d8aad086
Showing with 6 additions and 8 deletions
alist=[22,33,43,2,342,32142,2665,4,55665,3423,2456,22342] def tree(n):
n=len(alist) if n>=50:
for i in range(0,n-1): pen.forward(n)
for j in range(0, n-1): pen.right(30)
if alist[j]>alist[j+1]:
alist[j],alist[j+1]=alist[j+1],alist[j] \ No newline at end of file
print(alist)
\ 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