- 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_square”. One parameter: 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: 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 the coordinates of each shape