Today We Did
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):
”’