Review Note
Last Update: 05/03/2024 09:06 PM
Current Deck: Python::Python - Pythonic
Published
Fields:
Front
How to slice the last two elements from a sequence?
s = [12, 23, 19, 45]
Back
s[-2:]
[19, 45]
Tags:
Suggested Changes:
Deck Changes (Suggestion to move the Note to the following Deck):
Field Changes:
Tag Changes: