A3 - Defining Subprograms
Run the update to get the template for this assignment.
Take some time to try to understand how each of the subprograms work in a3-examples.py, and how they are called.
In a3.py, create your own three subprograms that create simple drawings.
Call each of them at least twice, each time starting from a different location.
Extensions
Creating subprograms with the following features would be considered extensions:
- a subprogram that accepts arguments, as demonstrated in the
draw_rectangleexample. - a subprogram that calls other subprograms, as demonstrated in the
draw_houseexample.