Python Basic Tutorials

Python is a high level general purpose programming language which has a clear/easy learning curve. Python programming language is massively used in various domains like Artificial Intelligence, Data Science, Web Development, Utilities Tools and Scripts and many more

Python is a Programming language, and the default Python we use is written in C programming language which is also referred to as CPython (Python implementation in C). There are various implementation of Python Programming language i.e Jython(in JAVA), Skulpt(in JS) e.t.c

To make everything easy: We refer CPython as Python

Python Identity Operator

Identity operators are those operators which are used to check whether the two operands are identical or not. Identical means the operands should be present in the same memory location. The same value of two operands does not specify that they are identical, rather they should be present in the same memory location. is and is not are two Identity operators in python.

is: True if two operands are identical

is not: True if two operands are not identical

Example:

>>>x='Python'
>>>y='Python'
>>>z='Flutter'

>>>x is y
   True

>>>x is not z
   False

>>>x is z
   False