InfinityCodeX

Unlock the power of Python, Data Science, Machine Learning, and Deep Learning with our comprehensive guides! Whether you're a beginner eager to dive into AI or an experienced professional looking to sharpen your skills, our blog offers easy-to-follow tutorials, insightful tips, and expert advice to fuel your AI career. Dive in today and start mastering the cutting-edge technologies shaping the future!

Python Operators



At this page we are going to look at what are operators & types of operators in previous post's i had covered concept's such as Variable & Datatypes with other topic's such as Literal's & Unicode Encoding. So guys please do check it out which will make our coding journey easy & efficient.


Operators are special symbols which carry out various types of computation's. The value that the operators operates is called operand. 

5.) Arithmetic Operators :

Arithmetic operators are use to perform mathematical operations like additions, subtraction, multiplication, division, floor division, Modulus.




Here is the example of all the Arithmetic operators :




If you want this topic in video format do check out this youtube video which will help you to understand this topics easily.



6.) Relational Operators :

Relational Operators give us the value True if condition is correct & False if condition is not correct.



Here is the example of all the Relational operators :




7.)  Logical Operators :

Logical Operators perform Logical AND, Logical OR, Logical NOT operations.




Here is the example of all the Logical operators :



If you want this topic in video format do check out this youtube video which will help you to understand this topics easily.



8.) Bitwise  Operator :

Bitwise operators act on bits and perform bit by bit operations.



Here is the example of all the Bitwise operators :




9.) Assignment Operator :

Assignment Operator use to assign value to a variable.




10.) Special Operator :

Basically there are 2 types of Special operators:

(i) Identity Operator :


is and is not are the identity operators both are used to check if two values are located on the same part of the memory. Two variables that are equal does not imply that they are identical.

  • is          True if the operators are identical
  • is not    True if the operators are not identical




(ii) Membership Operator :

in and not in are the membership operators; used to test whether a value or variable is in a sequence.


  • in          True if the value is found in sequence
  • in not    True if the value is not found in sequence


If you want this topic in video format do check out this youtube video which will help you to understand this topics easily.




Thank you! for visiting our blog. Help us by commenting below which will help us to upgrade our content.

No comments:

No Spamming and No Offensive Language

Powered by Blogger.