Home
Python
2D
Application
Buildin Function
Class
Data Structure
Data Type
Database
Development
Dictionary
Event
Exception
File
Function
GUI Pmw
GUI Tk
Language Basics
List
Math
Network
String
System
Thread
Tuple
Utility
XML
List Sliced « List « Python
Python
List
List Sliced
1.
List slice assignment: delete and insert
2.
List slicing
3.
List: display a slice
4.
List indices start at 0, and lists can be sliced, concatenated:
5.
Getting a List Subset: Slicing
6.
Slicing works similar to strings; use the square bracket slice operator ([ ] ) along with the index or indices.
7.
List Slicing Shorthand