Rotate your device.
Turn off orientation lock in device settings.

Blocks
Workspace
: / 11 blocks
Your browser is not supported. Please upgrade your browser to one of our supported browsers. You can try viewing the page, but expect functionality to be broken.
CS in Algebra curriculum and content is being deprecated. Within the next few months, this lab will no longer be available. Please check out Bootstrap: Algebra instead. Learn More.
Rotate your device.
Turn off orientation lock in device settings.
Here’s some code that can draw any regular polygon.
There’s a new variable called sides
that is set to 4.
Can you use the sides
variable (along with the math block) to turn the right amount regardless of how many sides are in the polygon?