« All Events
6 PM – Intro To Python
November 30, 2021 @ 6:00 pm - 7:00 pm
Today We Do
- We started Python Digital drawing using Turtle.
Homework
- Create a new file “Nov30_Turtle4ShapesHomework.py”
- Create a new function “draw_rectangle”. One parameter: pen_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_square”. One parameter: pen_color. Inside the function, draw a square shape using turtle module. Call the function and pass any color to the function.
- Create a new function “draw_octagon”. One parameter: pen_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: pen_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 coordinates guidance