- This event has passed.
5:30 PM – Intro To Python – Richard
October 4, 2022 @ 5:30 pm - 6:30 pm
Today We Did:
- We finished building our robot with 3 arms by using our left_arm and right_arm functions.
- We reviewed for loops and then learned how to draw a circle.
Code from class (Oct4_FinishedRobotArms.py): https://drive.google.com/drive/folders/1HS7Vf6hpZPBjnJQyanP75hIa6Krz4YsN
The top half contains the code needed to do the homework. The bottom half (commented out) is just the finished robot code in case you want to look at it.
Homework:
- Make a function called “face” that draws a circular face, 2 circular eyeballs, 2 circular pupils, and a rectangle mouth.
Please make use of the rectangle and circle functions we have created, and by passing in the face function parameters instead of manually plugging in numbers to the rectangle and circle functions. Think about what parameters our face function should have. See reference below.
Please email me if you have any questions: richardli@ayclogic.com