Get the Picture
Lab 3
In this lab you will be learning how to extend the capabilities of Python by using modules. You’ll be using these modules to approximate the value of Pi and draw fancy pictures.
Goals
- Practice importing and using Python modules
- Practice using loops to generate images
- Become familiar with the methods from the
math
andrandom
modules
README
Honor Code Reminders:
- Discussing high-level ideas with other students is encouraged, but only show your actual code to course staff (professors/lab helpers/tutors). The only exception is the warmup, which is to be completed in pairs.
- Consulting online resources other than assigned reading or documentation provided by the lab instructions is prohibited. Course staff will be happy to answer any questions you have.
- Use of generative AI for any reason is not allowed. This includes for both writing code and for debugging or reformatting code you wrote.
Instructions describing what commands are available for drawing shapes can be found here.