Python Turtle code for house with door and window

in #python5 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()

Coin Marketplace

STEEM 0.22
TRX 0.20
JST 0.034
BTC 91793.75
ETH 3121.53
USDT 1.00
SBD 3.17