American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro To Python – Gamas

October 1 @ 6:00 pm - 7:00 pm

Today We Did
  1. We finished left_arm and right_arm functions.
  2. We learned how to draw circle function.
  3. We started with draw_face_1 function.
Homework
  1. Finish draw_face_1() function
    1. draw the right eye ball
    2. draw 2 diagonal rectangle to create smile. To draw diagonal rectangle before you draw the rectangle, play around with t.setheading(<angle>). For example,
    3. t.setheading(30)
      rectangle(10,20, 40,10, "black")
      
      t.setheading(-30)
      rectangle(10,20, 40,10, "black")
  2. Add x,y parameters to draw_face_1(x,y) and change the code accordingly.
  3. Call the draw_face_1(100,100), draw_face_1(0,0) and I want to see 2 faces.

Details

Date:
October 1
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights