

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These lecture notes from cpsc 121 (computer science principles) cover topics such as practicing with turtle graphics, drawing segments, and the basic layout of a python module. Students are expected to implement functions for drawing horizontal and vertical segments, as well as a main function to test their implementation.
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Today ...
Homework
In HW 3, lets say we want to draw the character ‘7’:
In pairs, implement the draw horiz segment(p, l, x, y) function ...
If you finish early, implement draw vert segment(p, l, x, y)
If you are done, fill your segments with a color: p.begin_fill()
p.fillcolor("gray") p.end_fill()
To complete the lab: