Commit db0934cd by BellCodeEditor

auto save

parent 2597aa1f
Showing with 30 additions and 21 deletions
alist = [88, 75, 72, 82, 90, 85, 78, 91]
n=len(alist)
for i in range(0,n-1)
for j in range(0,n-1)
if alist[j]>alist[j+1]
alist[j],alist[j+1]= alist[j+1],alist[j]
print(alist)
import turtle
turtle.penup()
turtle.goto(0,-200)
turtle.pendown()
turtle.circle(200)
turtle.penup()
turtle.goto(-100,50)
turtle.pendown()
turtle.fillcolor("blue")
turtle.begin_fill()
turtle.circle(20)
turtle.end_fill()
turtle.penup()
turtle.goto(100,50)
turtle.pendown()
turtle.fillcolor("blue")
turtle.begin_fill()
turtle.circle(20)
turtle.end_fill()
turtle.penup()
turtle.goto(0,50)
turtle.pendown()
turtle.circle(-50,steps=3)
turtle.penup()
turtle.goto(-150,-70)
turtle.pendown()
turtle.goto(0,-170)
turtle.goto(150,-70)
turtle.done()
\ 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