'''lecture_05_house_compound_shape.py Oliver W. Layton CS 151 Fall 2020 Lecture 05 Make a house compound shape ''' import turtle import lecture_05_my_shapes as shape def house(x, y, scale): ''' Draws a house using a rectangle and a triangle''' # Fill this code in from scratch # (0, 0) shape.rectangle(x, y, scale*100, scale*150) shape.triangle(x, y + (scale)*150, scale*100) # Main code setup # Speed up drawing house(-200, -100, 2) # Keep the hexagon up until the user clicks on the window turtle.exitonclick()