---
title: "#python-is articles | Hashnode"
description: "Explore 1 articles tagged #python-is on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/python-is"
---

Tag

# #python-is

1 posts · 0 followers

[Syed Jafer K](https://hashnode.com/@iamsyedjafer) · [Dec 1, 2023](https://hashnode.com/posts/why-we-should-not-use-is-and-use-in-python/6569cc3ced23e99339e67da6)

### [Why we should not use "IS" and use "==" in python ?](https://parottasalna.hashnode.dev/why-we-should-not-use-is-and-use-in-python?utm_source=hashnode&utm_medium=feed)

Problem Faced a = 256 b = 256 print(a is b) # True But when we try this, a = 257 b = 257 print(a is b) # False Why this is strange behaviour ? Solution In python, the is keyword is used to test object identity, which checks if two variables refer...

2 min read · [parottasalna.hashnode.dev](https://parottasalna.hashnode.dev/why-we-should-not-use-is-and-use-in-python?utm_source=hashnode&utm_medium=feed)
