Day-06 | Operators in Python | Arithmetic Operator in Python | Python For Beginners

Опубликовано: 02 Март 2026
на канале: ELECTRONICS GLOBE
94
1

In Python, operators are special symbols or characters that perform specific operations on one or more operands (variables or values). Python supports various types of operators, including arithmetic operators, assignment operators, comparison operators, logical operators, bitwise operators, and more. Here are some of the most commonly used operators in Python:

1. Arithmetic Operators:
Addition:
Subtraction:
Multiplication:
Division:
Floor Division:
Modulo:
Exponentiation:

2. Assignment Operators:
Assign:
Add and assign:
Subtract and assign:
Multiply and assign:
Divide and assign:
Modulo and assign:
Exponentiate and assign:

3. Comparison Operators:
Equal to:
Not equal to:
Greater than:
Less than:
Greater than or equal to:
Less than or equal to:

4. Logical Operators:
Logical AND: and
Logical OR: or
Logical NOT: not

5. Bitwise Operators:
Bitwise AND
Bitwise OR
Bitwise XOR
Bitwise NOT
Left shift
Right shift

6. Identity Operators:
is: Returns True if two variables refer to the same object.
is not: Returns True if two variables do not refer to the same object.

#Python #pythoninhindi #pythonprogramming #learnpython #typefunction #engineering #programming #pip #pipfunction #moduleinpython #importfunction #importinpython #import