import turtle import time import random rand1=random.randint(1,200) turtle.fillcolor("black") turtle.begin_fill() turtle.circle(rand1,180) turtle.end_fill () turtle.pencolor("white") turtle.goto(0,0) turtle.pencolor("black") turtle.circle(-rand1,180) turtle.pencolor("white") turtle.goto(0,rand1) turtle.pencolor("black") turtle.fillcolor("white") turtle.begin_fill() turtle.circle(0.5*rand1,180) turtle.end_fill() turtle.pencolor('white') turtle.goto(0,rand1) turtle.pencolor("black") turtle.goto(0,0) turtle.fillcolor("black") turtle.pencolor("black") turtle.begin_fill() turtle.circle(-0.5*rand1,180) turtle.end_fill() turtle.pencolor("white") turtle.goto(0,1.25*rand1) turtle.pencolor("black") turtle.fillcolor("black") turtle.begin_fill() turtle.circle(0.25*rand1) turtle.end_fill() turtle.pencolor("white") turtle.goto(0,rand1) turtle.pencolor("black") turtle.goto(0,0.25*rand1) turtle.fillcolor("white") turtle.begin_fill() turtle.circle(0.25*rand1) turtle.end_fill() time.sleep(1)