Last active
May 2, 2021 20:23
-
-
Save ofelix03/2b6169a921836f33c578eee905d05ac0 to your computer and use it in GitHub Desktop.
function-parameters-and-arguments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # defining a function with parameters | |
| function send_money(amount, currency_code, recipient_name): | |
| # code for sending money goes here | |
| return True | |
| # calling a function with arguments | |
| money_sent = send_money(2000, 'USD', 'Felix Otoo') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment