# -*- coding : UTF-8 -*- # -*- author : Kamchuen -*- from turtle import * setup(600,400,0,0) bgcolor('red') color('yellow') fillcolor('yellow') def mygoto(x,y): up() goto(x,y) down() def drawstar(x): begin_fill() for i in range(5): color('yellow') forward(x) right(144) end_fill() mygoto(-250,120) drawstar(140) mygoto(-50,170) drawstar(60) mygoto(20,110) drawstar(60) mygoto(10,40) drawstar(60) mygoto(-50,-20) drawstar(60)