import turtle as t |
t.bgcolor( "red" ) |
def wjx(x): |
t.begin_fill() |
t.fillcolor( "yellow" ) |
for i in range ( 5 ): |
t.pencolor( "yellow" ) |
t.fd(x) |
t.right( 144 ) |
t.end_fill() |
t.up() |
t.goto( - 600 , 220 ) |
t.down() |
wjx( 150 ) |
|
t.up() |
t.goto( - 400 , 295 ) |
t.setheading( 305 ) |
t.down() |
wjx( 50 ) |
|
t.up() |
t.goto( - 350 , 212 ) |
t.setheading( 30 ) |
t.down() |
wjx( 50 ) |
|
t.up() |
t.goto( - 350 , 145 ) |
t.setheading( 5 ) |
t.down() |
wjx( 50 ) |
|
t.up() |
t.goto( - 400 , 90 ) |
t.setheading( 300 ) |
t.down() |
wjx( 50 ) |
t.hideturtle() |
t.done() |