« All Events
5:30 PM – Intro to Python – Parna
September 13, 2022 @ 5:30 pm - 6:30 pm
Today We Do
- We started Python Digital drawing using Turtle.
Homework
- Create a new file “Sep13_Turtle4ShapesHomework.py” and finish the document we started in class
- Create a new function “draw_rectangle”. One parameter: color. Inside the function, draw a rectangle shape using 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 a octagon shape using 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 turtle module. Call the function and pass any color to the function.
- Look at this image for your coordinate https://www.ayclogic.com/project-resources/