import zellegraphics as sg from zellegraphics import * import time win = GraphWin("House Graphic Drawing", 700, 500) ground = Line(Point(0,375), Point(700,375)) ground.draw(win) house = Rectangle(Point(550, 175), Point(150, 375)) house.setFill(color_rgb(250, 190, 160)) house.draw(win) door = Rectangle(Point(425, 325), Point(450, 375)) door.setFill('white') door.draw(win) handle = Circle(Point(430, 350), 2) handle.setFill('yellow') handle.draw(win) roof = Polygon(Point(550, 175), Point(400, 75), Point(150, 175)) roof.setOutline('gray') roof.setFill('gray') roof.draw(win) garageDoor = Rectangle(Point(170,375), Point(300, 275)) garageDoor.setFill('white') garageDoor.draw(win) line1 = Line(Point(170, 333), Point(300, 333)) line1.draw(win) line2 = Line(Point(170, 292), Point(300, 292)) line2.draw(win) window1 = Rectangle(Point(400, 325), Point(375, 350)) window1.setFill('white') window1.draw(win) window2 = Rectangle(Point(475, 325), Point(500, 350)) window2.setFill('white') window2.draw(win) window3 = Rectangle(Point(375, 200), Point(500, 250)) window3.setFill('white') window3.draw(win) win.getMouse() win.close()