Python Turtle code for house with door and window

in python •  5 years ago 

from turtle import *
speed (1)
left (90)
forward(100)
right (45)
forward (100)
right (90)
forward (100)
right (45)
forward (100)
right (90)
forward (140)
right (90)
forward (100)
right (90)
forward (140)
right (90)
forward (100)
right (90)
forward (45)
right (90)
forward (50)
left (90)
forward (25)
left (90)
forward (50)
left (180)
forward (20)
right (90)
forward (20)
up ()
goto (x=20, y=20)
down ()
forward (35)
left (90)
forward (20)
left (90)
forward (35)
left (90)
forward (20)
left (90)
forward (17.5)
left (90)
forward (20)
up ()
goto (x=70, y=120)
write (pos ())
down ()
circle (15)
left (90)
forward (30)
backward (15)
left (90)
forward (15)
left (180)
forward (30)

done()

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!