From fc8a87f54d0ed19b57b32696f0c05560e301e37c Mon Sep 17 00:00:00 2001 From: JedidiahTsang <53989029+JedidiahTsang@users.noreply.github.com> Date: Wed, 2 Oct 2024 09:48:46 -0700 Subject: [PATCH] Update reference.md --- reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference.md b/reference.md index e3d0ad7..9ec8462 100644 --- a/reference.md +++ b/reference.md @@ -77,7 +77,7 @@ In the function above, `my_function` is the name of the function, which takes on | **Function** | **Description** | **Input** | **Output** | | `str.split(separator, maxsplit)` | Splits `str` into a list of substrings using the specified `separator`. If `separator` is not provided, splits at any whitespace. You can also use the optional argument `maxsplit` to limit the number of splits. | 1. (Optional) **separator**: the delimiter used to split `str`
2. (Optional) **maxsplit**: maximum number of splits | **list** of substrings | -| `str.join(iterable)` | Concatenates the elements in `iterable` (usually a list or tuple) into a single string, with each element separated by `str`. | **iterable**: an iterable of strings to join (can be an array or list of strings) | **string**: a single string formed by joining the elements of `iterable` with the separator string | +| `str.join(iterable)` | Concatenates the elements in `iterable` (usually a list or array) into a single string, with each element separated by `str`. | **iterable**: an iterable of strings to join (can be an array or list of strings) | **string**: a single string formed by joining the elements of `iterable` with the separator string |