American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6 PM – Intro to Python – David

April 2, 2022 @ 6:00 pm - 7:00 pm

Topics covered in class today:
  1. We started Python Digital drawing using Turtle.
Homework:
  1. Create a new file “Apr2_Turtle4ShapesHomework.py”
  2. 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.
  3. 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.
  4. 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.
  5. 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/

Details

Date:
April 2, 2022
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights