From 945c32e732901ac29bff0d5af7f3dbb6669e06f7 Mon Sep 17 00:00:00 2001 From: Ng Kiat Siong Date: Tue, 20 Aug 2019 16:34:59 +0800 Subject: [PATCH] Update 05.07-Positional-and-Keyword-Arguments.ipynb Edited ampersand '&' to asterisk '*' --- .../05.07-Positional-and-Keyword-Arguments.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notebooks/05-Functions-and-Modules/05.07-Positional-and-Keyword-Arguments.ipynb b/notebooks/05-Functions-and-Modules/05.07-Positional-and-Keyword-Arguments.ipynb index e46b5d2..fe06678 100644 --- a/notebooks/05-Functions-and-Modules/05.07-Positional-and-Keyword-Arguments.ipynb +++ b/notebooks/05-Functions-and-Modules/05.07-Positional-and-Keyword-Arguments.ipynb @@ -88,9 +88,9 @@ "function(*iterable)\n", "```\n", "\n", - "Where ```function``` is the name of the function and ```iterable``` is the name of the iterable preceded by the ampersand ```*``` character. \n", + "Where ```function``` is the name of the function and ```iterable``` is the name of the iterable preceded by the asterisk ```*``` character. \n", "\n", - "An example of using a list to pass positional arguments to the ```complex()``` function is below. Note the ampersand ```*``` character is included before the ```term_list``` argument." + "An example of using a list to pass positional arguments to the ```complex()``` function is below. Note the asterisk ```*``` character is included before the ```term_list``` argument." ] }, { @@ -209,7 +209,7 @@ "function(**keyword_dict)\n", "```\n", "\n", - "Where ```function``` is the name of the function and ```keyword_dict``` is the name of the dictionary containing keywords and values preceded by the double ampersand ```**``` character. Note that the keywords assigned as keys in a dictionary must be surrounded by quotes ``` ' ' ```. An example of using a dictionary to pass keyword arguments to the ```complex()``` function is below:" + "Where ```function``` is the name of the function and ```keyword_dict``` is the name of the dictionary containing keywords and values preceded by the double asterisks ```**``` character. Note that the keywords assigned as keys in a dictionary must be surrounded by quotes ``` ' ' ```. An example of using a dictionary to pass keyword arguments to the ```complex()``` function is below:" ] }, {