American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

1:30 PM -Intro to Python Summer – Joshua

June 26 @ 1:30 pm - 3:30 pm

Today we did

  • Turtle
  • turtle.goto vs turtle.forward/left/right to make shapes
  • how to do circles
  • how to convert your shapes into functions
  • functions that call functions inside of it (combining functions

Homework:

Look through your email and complete the quiz if not already completed

  • Turtle based homework
    • in a file week_4_turtle_hw.py
    • Draw a face. A face should have the following charecteristics
      • it should a circle face
      • Have two eyes and a mouth, made up of rectangles, half circles, or other shapes of your choice (up to you)
      • make as much of your drawings function based as possible
        • ex. instead of 4 turtle.goto’s to make a rectangle, use the rectangle function we already mad
    • Draw a simple robot
      • using only rectangles, make a “robot
        • Step 1: create function for robot_leg, robot_arm (similar to l block), robot_body, and robot_head
          • the only variables you should care about is the x,y for these functions
          • all these functions should only use the rectangle function created in class
        • Step2 put all those functions in a “robot” function
          • the only functions that should be in your robot function is robot_leg, robot_arm,robot_body,robot_head,etc.

Details

Date:
June 26
Time:
1:30 pm - 3:30 pm