Batch 1
This commit is contained in:
37
house.py
Normal file
37
house.py
Normal file
@@ -0,0 +1,37 @@
|
||||
import turtle
|
||||
t = turtle
|
||||
t.pensize("8")
|
||||
t.color("pink")
|
||||
t.shape("turtle")
|
||||
t.penup()
|
||||
t.right(135)
|
||||
t.fd(50)
|
||||
|
||||
t.pendown()
|
||||
t.circle(200 , steps = 4 )
|
||||
t.rt(45)
|
||||
t.color("blue")
|
||||
t.fd(25)
|
||||
t.rt(120)
|
||||
t.fd(325)
|
||||
t.rt(120)
|
||||
t.fd(325)
|
||||
t.right(120)
|
||||
t.fd(150)
|
||||
t.penup()
|
||||
t.lt(90)
|
||||
t.fd(25)
|
||||
t.color("green")
|
||||
t.fd(100)
|
||||
t.pendown()
|
||||
t.rt(90)
|
||||
t.fd(50)
|
||||
t.lt(90)
|
||||
t.fd(150)
|
||||
t.lt(90)
|
||||
t.fd(100)
|
||||
t.lt(90)
|
||||
t.fd(150)
|
||||
t.lt(90)
|
||||
t.fd(50)
|
||||
|
||||
Reference in New Issue
Block a user