Skip to content

Commit

Permalink
Add notes to function
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-Lubliner committed May 8, 2024
1 parent 48824aa commit 59c4a1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/getting-started/sec-defining-functions.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
<p>
Here we have a function that takes a name as an argument and returns a greeting:
</p>
<aside>
<title>Notes</title>
<p>
For an extra challenge, you can implement our <c>greetings</c> function more elegantly with string formatting.
</p>
</aside>
<sage>
<input>
def greetings(name):
Expand Down

0 comments on commit 59c4a1f

Please sign in to comment.