#This draws a captioned Smiley Face def HaveANiceDay(): #make the frame, a 500x500 empty canvas q=makeEmptyPicture(500,500) addOvalFilled(q,50,50,400,400,yellow) addOval(q,50,50,400,400) #add the eyes addOvalFilled(q,177,177,6,6) addOvalFilled(q,317,177,6,6) #add the smile: The smile is a portion #of an arc of 90 degrees in a circle of #diameter 250. The upper left hand corner #of the rectangle surrounding the circle is #at (125,125). The arc starts at an angle #of 225 degrees from the center of the circle. addArc(q,125,125,250,250,225,90) #Add Caption addText(q,200,475,"Have a Nice Day!") show(q)