-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTriangle.py
More file actions
49 lines (36 loc) · 748 Bytes
/
Copy pathTriangle.py
File metadata and controls
49 lines (36 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import turtle as t
t.speed(1000)
from Drawing_functions import triangle,change_position,tree,bird,sun,name, bottom, up
t.shape("turtle")
#first triangle
change_position(-650,-85)
up()
change_position(-650,-335)
bottom()
change_position(-15,0)
triangle(lenght=100,color='red')
change_position(145,0)
triangle(lenght=200,color='yellow')
change_position(225,0)
triangle(lenght=150,color='light green')
change_position(-350,-150)
tree()
change_position(-250,-250)
tree()
change_position(-150,-150)
tree()
change_position(-50,-250)
tree()
change_position(-450,-250)
tree()
change_position(315,240)
bird()
change_position(375,180)
bird()
change_position(455,220)
bird()
change_position(-495,200)
sun()
change_position(250,50)
name()
t.done()