# drawing.py # ---------- # By ____(you)___________ # # (Briefly describe what this program does.) from turtle import * def draw_circle(radius, color): fillcolor(color) begin_fill() circle(radius) end_fill() draw_circle(50, "medium purple") def half_circle(radius, color): fillcolor(color) begin_fill() circle(radius, 180) end_fill() half_circle(100, "medium purple") def draw_eye(x,y,radius,color): penup() goto(x,y) pendown() fillcolor(color) begin_fill() circle(radius) end_fill() draw_eye(100,0,20, "black") def text_bubble(x,y, width, height, color): penup() goto(x,y) pendown() fillcolor(color) begin_fill() for i in range(2): circle(height/2,90) forward(height) circle(height/2,90) forward(width) end_fill() text_bubble(100,150, 40, 60, "orange") def text(x, y, message, text_color,size): penup() goto(x,y) pendown() color(text_color) write(message,size) text(160, 160, "BOO!", "black", 30) input()