- This event has passed.
6:00 PM – Intro to Python – Darin
Today we did
- Learnt how to use turtle drawing.
- Learnt how to wrap everything into a function that makes drawing easier
Homework:
Submit into your google drive when you are done!
- In your file called Aug11_TurtleComplexFunctionsHW.py, do the following:
# HW: Draw a shape with at least 4-5 rectangles# Create a function out of that shape that you can
# duplicate anywhere“””
Trick:1. Start with drawing without the complex function:
drawRectangle(0, 0, 100, 20, “red”)
drawRectangle(0, 0, 20, 100, “blue”)
drawRectangle(-50, 0, 40, 20, “red”)
drawRectangle(-20, 50, 20, 100, “purple”)note: set the first rectangle as (0, 0) for the x, y so
it’s easier2. Replace the first rectangle with x and y, and
add x and y for every other rectangle
“””” - Create your project proposal drawing following these guidelines: https://www.ayclogic.com/intro-to-python-final-project-criteria/
Submit an image to the google drive here when you are done.
Notes:
You can reach me at ddjapri@ayclogic.com for any questions.
AYC Logic’s observed holidays: https://www.ayclogic.com/observed-holidays/
Class notes: https://drive.google.com/drive/folders/1EJ3L9sHx0pYuyJ9jnGX1o144Lki3lZWn?usp=sharing