CPSC120A
Fundamentals of Computer Science I

Post-lab 6

Creating Functions

In this post-lab you will demonstrate your understanding of writing functions using the turtle module.

Details

Create a Python program that uses the turtle module to draw a crowd of stick figure people to the turtle window. For our definition, a crowd will consist of at least 5 stick figures. Create a function draw_stick_figure(x, y) that draws a stick figure person in the specified location on the turtle window.

Example

>>> import stick_figure
>>> stick_figure.draw_stick_figure(x=0, y=0)
...
Turtle Graphics Triangle

Submission

Submit your program as a .py file on the course Inquire page before class on Friday September 12th.