- This event has passed.
6 PM – Intro to Python – David
April 2, 2022 @ 6:00 pm - 7:00 pm
Topics covered in class today:
- We started Python Digital drawing using Turtle.
Homework:
- Create a new file “Apr2_Turtle4ShapesHomework.py”
- Create a new function “draw_rectangle”. One parameter: color. Inside the function, draw a rectangle shape using the turtle module. Call the function and pass any color to the function.
- Create a new function “draw_square”. One parameter: color. Inside the function, draw a square shape using the turtle module. Call the function and pass any color to the function.
- Create a new function “draw_octagon”. One parameter: color. Inside the function, draw an octagon shape using the turtle module. Call the function and pass any color to the function.
- Create a new function “draw_triangle”. One parameter: color. Inside the function, draw a triangle shape using the turtle module. Call the function and pass any color to the function.
Look at this image for your coordinates (scroll down) https://indo.ayclogic.com/project-resources/