Skip to content

Commit c66a0ec

Browse files
committed
Add a missing solution section header,
Also add an example image.
1 parent 28c35a6 commit c66a0ec

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎source/functions_parameters.rst‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ Exercise
5555
Write a function that allows you to draw hexagons of any size you want, each
5656
time you call the function.
5757

58+
Solution
59+
--------
60+
5861
::
5962

6063
def hexagon(size):
@@ -69,7 +72,11 @@ Exercise
6972
--------
7073

7174
Write a function that will draw a shape of *any* number of sides (let's assume
72-
greater than two) of any side length. Get it to draw some different shapes.
75+
greater than two) of any side length. Get it to draw some different shapes.
76+
77+
Here's an example of drawing shapes with this function:
78+
79+
.. image:: /images/shapes.png
7380

7481
.. tip::
7582

‎source/images/shapes.png‎

1.15 KB
Loading

0 commit comments

Comments
 (0)