American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6PM- Intro To Python – Joshua

December 5, 2024 @ 6:00 pm - 7:00 pm

Today We Did:

    1. Drawing robot arms as a function
    2. How to draw a circle (turtle.circle())
      1. turtle_circle(radius)
      2. radius is the distance from the center of the circle all the way to the edge
    3. Drawing half, quarter, incomplete circles
      1. turtle.circle(radius, “90”)   < ——- this will rotate it 90 degrees.
      2. Remember to experiment to get a shape

Homework:

In one new file, “December_2_Face”, do the following:

  1.  Create a simple circular face with these components
    1. A whole circular face
    2. Two half circle eyes
    3. A rectangle smile that is slanted
  2. IF you are able to, create a function that makes the face called “create_face”
  3. Create a Left arm functions
    1.  it should take in two variables, your x coordinate and your y coordinate like this  def left_arm(x,y)
      1. at that x,y coordinate, it should draw a left arm
      2. In your left arm function, call two of your “rectangle” functions to build the arm

email jwidjanarko@ayclogic.com for questions

Details

Date:
December 5, 2024
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights