Submit into your google drive when you are done!
# 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 easier
2. Replace the first rectangle with x and y, and
add x and y for every other rectangle
“”””
Submit an image to the google drive here when you are done.
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