Skip to content

Commit

Permalink
Update reference.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JedidiahTsang authored Oct 2, 2024
1 parent a6a3d73 commit fc8a87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` <br> 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 |



Expand Down

0 comments on commit fc8a87f

Please sign in to comment.