In this quick exercise, you will use the what we learned this week two draw two boxes with the same y coordinate.
You can reference the relevant lecture notes when completing your assignment.
CLOS: This assignment builds toward learning outcomes SP.1 and ME.2.
-
Sign in to your trinket.io account
-
Create a new VPython trinket by clicking the dropdown by your username on the top right, then New Trinket>Web VPython>Python
-
Declare a variable called y and assign it a numerical value.
-
Draw two boxes with the same y coordinate, using the variable created in step 3.
-
Save your work, and copy the link from the link-share tree to the left of the Save button.
-
Turn in your link from step 4 to Canvas