Operators in Python

                                

Operators:

The standard mathematical operators that you are familiar with work the same way in Python as in most other languages.
        Addition, subtraction, multiplication, division and modulus are all part of the standard set of operators.

Operators in python:

1. Arithmetic operators.
2.Assignment operators.
3.Comparison operators.
4.Logical operators.
5.Membership operators.
6.Bitwise operators.
7.Identity operators.

Arithmetic operators:

These are used with numeric values to perform some mathematical operation.




Assignment operators:

These are used to assign value to the other variables.




Comparison operators:

These are used in comparing values to one another.



Logical operators:

These are used to combine conditional statements.



Membership operators:





Bitwise operators:





Identity operators:




Post a Comment

0 Comments