- This event has passed.
4 PM – Intro To Python – Darin
April 29 @ 4:00 pm - 5:00 pm
What We Did Today:
- Learnt how to create a function for making rectangles or squares using parameters such as x and y (used for starting position of drawing), length and height (of the rectangle), and color.
- Learnt how to use t.forward() and t.right() (or t.left())
Homework:
If you haven’t finished it already, do last week’s homework: https://www.ayclogic.com/event/4-pm-intro-to-python-darin-20/
Continue with your main homework of connecting the two rectangles together.
Rewrite the first rectangle to be:
drawRectangle(-90, 100, 100, 150, “yellow”)
and make your function name drawRectangle too instead of drawSquare
Your job is to make the neck of this robot:
tip: use a starting x and y position of (-45, 120), then your job is to figure out the length and the height of the neck.
Notes:
You can contact me via ddjapri@ayclogic.com for any questions or concerns.