Skip to content

Commit 2384c96

Browse files
committed
updates to markdown content
1 parent 969c6d2 commit 2384c96

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/trinket/07-function-parameters.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## Function= Parameters
1+
# Function Parameters
22

3+
## Lesson Objective
34
Now we will create a new function that draw a square with a specific color at a specific x and y point. The function will take three inputs:
45
- the color
56
- the horizontal x position on the grid
@@ -32,9 +33,12 @@ square('blue', 70, -50)
3233
## Drawing
3334
![](../img/four-squares.png)
3435

35-
[Function](https://trinket.io/library/trinkets/83e78b10f5)
36+
[Link to Function in Trinket](https://trinket.io/library/trinkets/83e78b10f5)
3637

3738

3839

3940
## Experiments
40-
Can you change the name of the function to be "petal"?
41+
42+
1. Can you change the name of the function to be "petal"?
43+
2. Can you change the function to include the ability to pass in one color for the border, and one color for the center fill?
44+
[Sample of Border Square Program](https://trinket.io/python/3377b0fbd8)

0 commit comments

Comments
 (0)