diff options
| author | 2023-01-26 11:04:46 -0700 | |
|---|---|---|
| committer | 2023-01-26 11:04:46 -0700 | |
| commit | c7bc8a084357216fbe118ad0983cf0d51affa3aa (patch) | |
| tree | 62827c83f653f77477d40d3299d4197da977b10f | |
| parent | Add clarifying details (diff) | |
Add missing code blocks
Co-authored-by: Caeden Perelli-Harris <[email protected]>
| -rw-r--r-- | bot/resources/tags/in-place.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/in-place.md b/bot/resources/tags/in-place.md index 2a9a1db2f..f1d3090fd 100644 --- a/bot/resources/tags/in-place.md +++ b/bot/resources/tags/in-place.md @@ -20,4 +20,4 @@ sorted(a_list) print(a_list[0]) # You may expect 1, but it will print 3 ``` -To avoid these errors and unexpected results, it is required to assign the result of sorted(...) to a new variable and use list.sort() method in the original list. This way, the original list will be sorted and the new list will be created with the sorted elements. +To avoid these errors and unexpected results, it is required to assign the result of `sorted(...)` to a new variable and use `list.sort()` method in the original list. This way, the original list will be sorted and the new list will be created with the sorted elements. |