Section: Lists

Reverse slice copy

python
python
reversed_items = items[::-1]

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Lists
Slice a list
Slice a list
OpenIn sheetpythonsame section
Append item
Append item
OpenIn sheetpythonsame section
Extend list
Extend list
OpenIn sheetpythonsame section
Insert at index
Insert at index
OpenIn sheetpythonsame section
Sort in place
Sort in place
OpenIn sheetpythonsame section
Sorted copy
Sorted copy
OpenIn sheetpythonsame section