aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Keyacom <[email protected]>2022-10-31 09:11:05 +0100
committerGravatar Keyacom <[email protected]>2022-10-31 09:11:05 +0100
commitfb8ad22df1ef5e96bf0af20fdce4d681f8e5c5ab (patch)
treeaef20508d7223335e8e5ca3686ef5f86c877d28c
parentUpdate slicing.md (diff)
Simplify REPL example
-rw-r--r--bot/resources/tags/slicing.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/resources/tags/slicing.md b/bot/resources/tags/slicing.md
index 5e28dbb52..717fc46b7 100644
--- a/bot/resources/tags/slicing.md
+++ b/bot/resources/tags/slicing.md
@@ -8,8 +8,6 @@ embed:
**Examples**
```py
>>> letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g']
->>> letters
-['a', 'b', 'c', 'd', 'e', 'f', 'g']
>>> letters[2:] # from element 2 to the end
['c', 'd', 'e', 'f', 'g']
>>> letters[:4] # up to element 4