Commit 8e9325e6 by BellCodeEditor

auto save

parent 5af862b4
Showing with 149 additions and 0 deletions
import turtle as t
t.fillcolor('yellow')
t.pencolor('red')
t.pensize(10)
t.penup()
t.goto(-120,140)
t.begin_fill()
t.pendown()
t.goto(-20,0)
t.goto(-120,-140)
t.goto(-60,-140)
t.goto(0,-20)
t.goto(60,-140)
t.goto(120,-140)
t.goto(20,0)
t.goto(120,140)
t.goto(60,140)
t.goto(0,20)
t.goto(-60,140)
t.goto(-120,140)
t.end_fill()
t.hideturtle()
t.done()
\ No newline at end of file
import turtle as t
import turtle as t
t.fillcolor('red')
t.pencolor('yellow')
t.pensize(10)
t.penup()
t.goto(-95,150)
t.pendown()
t.begin_fill()
t.goto(-73,110)
t.goto(-95,100)
t.goto(-120,140)
t.goto(-95,150)
t.end_fill()
t.penup()
t.goto(-147,92)
t.pendown()
t.begin_fill()
t.goto(-48,92)
t.goto(-48,70)
t.goto(-86,10)
t.goto(-86,-3)
t.goto(-70,10)
t.goto(-45,-25)
t.goto(-62,-19)
t.goto(-86,-3)
t.goto(-86,-147)
t.goto(-108,-147)
t.goto(-108,-13)
t.goto(-143,-50)
t.goto(-150,-20)
t.goto(-75,70)
t.goto(-147,70)
t.goto(-147,92)
t.end_fill()
t.penup()
t.goto(-42,135)
t.pendown()
t.begin_fill()
t.goto(143,135)
t.goto(143,117)
t.goto(-42,117)
t.goto(-42,135)
t.end_fill()
t.penup()
t.goto(-27,13)
t.pendown()
t.begin_fill()
t.goto(-27,93)
t.goto(123,93)
t.goto(123,13)
t.goto(102,13)
t.goto(102,23)
t.goto(-4,23)
t.goto(-4,13)
t.goto(-27,13)
t.end_fill()
t.penup()
t.goto(-40,-3)
t.pendown()
t.begin_fill()
t.goto(138,-3)
t.goto(138,-148)
t.goto(117,-148)
t.goto(117,-133)
t.goto(-19,-133)
t.goto(-19,-148)
t.goto(-40,-148)
t.goto(-40,-3)
t.end_fill()
t.penup()
t.goto(-4,77)
t.pendown()
t.fillcolor('white')
t.begin_fill()
t.goto(102,77)
t.goto(102,42)
t.goto(-4,42)
t.goto(-4,77)
t.end_fill()
t.penup()
t.goto(-19,-22)
t.pendown()
t.begin_fill()
t.goto(38,-22)
t.goto(38,-58)
t.goto(-19,-58)
t.goto(-19,-22)
t.end_fill()
t.penup()
t.goto(60,-22)
t.pendown()
t.begin_fill()
t.goto(115,-22)
t.goto(115,-58)
t.goto(60,-58)
t.goto(60,-22)
t.end_fill()
t.penup()
t.goto(-19,-77)
t.pendown()
t.begin_fill()
t.goto(38,-77)
t.goto(38,-113)
t.goto(-19,-113)
t.goto(-19,-77)
t.end_fill()
t.penup()
t.goto(60,-77)
t.pendown()
t.begin_fill()
t.goto(115,-77)
t.goto(115,-113)
t.goto(60,-113)
t.goto(60,-77)
t.end_fill()
t.penup()
t.hideturtle()
t.done()
\ No newline at end of file
while True:
if istouching('door'):
forward(-10)
\ 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