---
title: "Discussion on \"Identity Operators in Python\" | Hashnode"
description: "Discussion on \"Identity Operators in Python\". Everything in python is an object\nPython has a built-in function id() which provides the id of the memory location associated with that particular object\nFor example\na = 3\nb = [12,54,6,9,1]\n\nprint(id(a))\nprint(id(b))\n\nOutput\n10742600 \n140311838537856..."
url: "https://hashnode.com/posts/identity-operators-in-python/63e7f4103f6ad7a8d1ae471e"
---

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

Discussion

# [Identity Operators in Python](https://pratikhilale.hashnode.dev/identity-operators-in-python?utm_source=hashnode&utm_medium=feed)

Everything in python is an object Python has a built-in function id() which provides the id of the memory location associated with that particular object For example a = 3 b = \[12,54,6,9,1\] print(id(a)) print(id(b)) Output 10742600 140311838537856...

Feb 11, 2023 · 2 min read · pratikhilale.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)

## Written by

[Pratik Hilale](https://hashnode.com/@pratikhilale)

@pratikhilale

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
