Commit f589810d by BellCodeEditor

auto save

parent 9120ddd8
Showing with 79 additions and 22 deletions
from turtle import *
goto(0,0)
forward(100)
back(200)
goto(0,0)
right(90)
forward(100)
back(200)
up()
goto(0,40)
down()
circle(40)
left(90)
forward(80)
up()
goto(40,80)
right(90)
down()
forward(80)
hideturtle()
done()
\ No newline at end of file
from turtle import *
up()
goto(0,-200)
down()
circle(200)
up()
goto(-100,50)
down()
fillcolor('blue')
begin_fill()
circle(20)
end_fill()
up()
forward(200)
down()
begin_fill()
circle(20)
end_fill()
up()
goto(0,50)
down()
circle(-50,steps=3)
up()
# goto(0,-170)
# down()
# left(30)
# forward(150)
# up()
# goto(0,-170)
# left(120)
# down()
# forward(150)
goto(-150,-70)
down()
goto(0,-170)
goto(150,-70)
done()
\ No newline at end of file
from turtle import *
circle(50)
up()
goto(0,-50)
down()
circle(100)
up()
goto(0,50)
goto(50,50)
down()
for i in range(10):
forward(50)
up()
back(100)
left(36)
forward(50)
down()
done()
\ No newline at end of file
# a="Hello worlld"
# print(a[2:12])
# a=[2,8,2,4,1,0,7,4]
# print(a[3]+a[-1])
# print(sum(a))
# print(max(a))
# print(min(a))
import turtle
pen=turtle.Pen()
pen.forward(100)
pen.left(144)
pen.forward(100)
pen.left(144)
pen.forward(100)
pen.left(144)
pen.forward(100)
pen.left(144)
pen.forward(100)
pen.left(144)
pen.hideturtle()
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