In the Loop
Lab 2
In the Loop
In this lab you will create programs that implement some of the concepts that you’ve recently learned in class and in your readings. Specifically, you will practice writing and using for
loops to handle repetitive operations.
Goals
- Become more comfortable using variables and mathematical expressions
- Use
for
loops to solve a variety of programming problems - Generate simple ASCII graphics using patterns with nested loops
- Generate fun images with the picture.py module
Instructions describing what commands are available for drawing shapes can be found here.