American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7PM-Intro To Python-Joshua

March 13 @ 8:00 am - 5:00 pm

Today We Did

  • learned turtle.right() turtle.left() and turtle.forward
  • looked into combining shapes into functions

 

Homework

In a file named draw_robot_2.py,

redraw your robot, with the new rectangle function.

your robot should have the following functions, and all should only contain calls to the rectangle function (see example from right arm below). Your robot should be calls to your right arm, left_arm, body, legs, and head functions.

def right_arm(x,y):
rectangle(x,y,”dark blue”, 200,100)
rectangle(x,y,”dark blue”, 100,200)
”’
def left_arm(x,y):

def body(x,y):

def legs(x,y):

def head(x,y):

def robot(x,y):

”’

Details

Date:
March 13
Time:
8:00 am - 5:00 pm
Verified by MonsterInsights