---
title: "Discussion on \"Indexing and Slicing in Python\" | Hashnode"
description: "Discussion on \"Indexing and Slicing in Python\". Indexing is simply referring to an element present in an iterable based on its position. While slicing is extracting element/elements from the iterable based on the index/indices value.\nLet's follow the below example for better understanding.\nSuppose..."
url: "https://hashnode.com/posts/indexing-and-slicing-in-python/63443090f943840715bd206a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Indexing and Slicing in Python](https://raisid369.hashnode.dev/indexing-and-slicing-in-python?utm_source=hashnode&utm_medium=feed)

Indexing is simply referring to an element present in an iterable based on its position. While slicing is extracting element/elements from the iterable based on the index/indices value. Let's follow the below example for better understanding. Suppose...

Oct 10, 2022 · 2 min read · raisid369.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)
-   [#indexing](https://hashnode.com/tag/indexing)
-   [#happycoding](https://hashnode.com/tag/happycoding)
-   [#slicing](https://hashnode.com/tag/slicing)

## Written by

[Siddharth Rai](https://hashnode.com/@RaiSid369)

@RaiSid369 · Uttarakhand

  
[View profile](https://hashnode.com/@RaiSid369)

Namaste!!! I bow to the divine in you

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
