Turtle Preparation
Overview
Being able to write programs that use graphics is a lot of fun and helps with understanding various programming concepts. There are several different Python modules that let you draw pictures, but we’re going to focus on one in particular called turtle.
Basic Learning Objectives
Before class, you should be able to:
- Explain how to add a module to your Python program
- Generate a random number using the random module
- Draw a couple of lines using the turtle module
- Use a simple for loop
Advanced Learning Objectives
After class, you should be able to:
- Use the random and turtle modules to draw a more complicated picture
- Use a for loop to reduce the lines of code of your program
Resources
You should read/watch the following and complete the embedded checks in the Runestone textbook: