-
Notifications
You must be signed in to change notification settings - Fork 0
/
Turtle.py
42 lines (37 loc) · 767 Bytes
/
Turtle.py
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
#!/usr/bin/python
import turtle
#print "Hello!"
turtle.up ( )
turtle.goto ( 0 , 35 )
turtle.down ( )
turtle.color ( "red" )
turtle.fill (1)
turtle.circle ( 20 )
turtle.fill (0)
turtle.up ( )
turtle.goto ( 0 , -20 )
turtle.down ( )
turtle.color ( "yellow" )
turtle.fill (1)
turtle.circle ( 20 )
turtle.fill (0)
turtle.up ( )
turtle.goto ( 0 , -75 )
turtle.down ( )
turtle.color ( "green" )
turtle.fill (1)
turtle.circle ( 20 )
turtle.fill (0)
#turtle.goto (0, 20)
#turtle.forward ( 50 )
#turtle.right ( 60 )
#turtle.forward ( 50 )
#turtle.right ( 60 )
#turtle.forward ( 50 )
#turtle.right ( 60 )
#turtle.forward ( 50 )
#turtle.right ( 60 )
#turtle.forward ( 50 )
#turtle.right ( 60 )
#turtle.forward ( 50 )
raw_input ( "Press return to terminate the program: " )