Today We Did
- Turtle intro
- turtle.goto(x, y) — move to particular spot on screen
- turtle.fill(color) — fill shape with color
- turtle.penup(), turtle.pendown() — lift pen up and down
- turtle.color(color) — set color of outline
- turtle.bgcolor(color) — set background color
- turtle.speed(speed) — change speed of turtle
- more commands: https://www.pythonsandbox.com/docs/turtle
- Drew first shape in following file: https://www.ayclogic.com/event/6-pm-intro-to-python-46/
- Started on RobotBuilder
- Created draw_rectangle() function
Homework
- Complete the 3 other shapes into the file we started in class (
Jul11_TurtleHomework.py
).- Reference: https://www.ayclogic.com/event/6-pm-intro-to-python-46/
- Complete the legs, the body, the neck, and the face of RobotBuilder, in the same file (
Jul11_RobotBuilder.py
). Below is a picture for reference. Remember to start from the bottom, and work your way to the top.

If you have questions, feel free to email szhuang@ayclogic.com