Skip to content

Commit

Permalink
Add geometry section to Python turtle activity. (#460)
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Zhang <[email protected]>
  • Loading branch information
ozhang22 and Oliver Zhang authored Jun 16, 2024
1 parent d284311 commit f4f184f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions content/english/python-turtle/activity-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ Great job! You just drew your first shape in Python with Turtle! Now let’s sli

To help you draw a hexagon, think of how many sides a hexagon has. How many degrees are in each angle of a hexagon?

{{% expand "**Hint:**" %}}
Remember that in any shape, all the angles add up to 360°. For example, there are 4 sides in a square, so each angle of a square is 360 ÷ 4 = 90°.
{{% /expand %}}
<br/>

{{% expand "**Show answer:**" %}}
As a hexagon have 6 sides, each angle of a hexagon is 360 ÷ 6 = 60°.
{{% /expand %}}
<br/>

As a helpful reminder, this is the code that was used to create a triangle:

``` python
Expand Down

0 comments on commit f4f184f

Please sign in to comment.