flâneur — a map of the web's best reading

Python List Slicing - GeeksforGeeks

geeksforgeeks.org · 1,267 words · saved by 1 readers

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Python List Slicing - GeeksforGeeks Courses Tutorials Interview Prep Python Tutorial Data Types Interview Questions Examples Quizzes DSA Python Data Science NumPy Pandas Practice Django Flask Python List Slicing Last Updated : 23 Jul, 2025 Python list slicing is fundamental concept that let us easily access specific elements in a list. In this article, we’ll learn the syntax and how to use both positive and negative indexing for slicing with examples. Example: Get the items from a list starting at position 1 and ending at position 4 (exclusive). Python a = [ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ]

Explore this link on the map →

saved by

related reading