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.21
TRX 0.20
JST 0.034
BTC 90159.45
ETH 3082.42
USDT 1.00
SBD 2.98