Lesson - 11 : Python3 - Python Operators

Опубликовано: 10 Октябрь 2024
на канале: Sada Learning Hub
49
2

**************************************************
Python Core PlayList :    • Lesson - 01 : Python3 - What is python  
Python Advanced PlayList :    • Lesson - 46 : Python Advanced - Pytho...  
**************************************************
Python Operators:

Operators are used to perform operations on values and variables. Operators can manipulate individual items and returns a result.
The data items are referred as operands or arguments. Operators are either represented by keywords or special characters. For example, for identity operators we use keyword "is" and "is not".

Types of Operator:
Python language supports the following types of operators.
1 Arithmetic Operators : +,-,*,/,%,**,//
2. Comparison (Relational) Operators: ==, !=, <, >, <=, >=
3. Assignment Operators: +=, -=, *=, /=, %=, **=, //=
4. Logical Operators: and, or, not
5. Bitwise Operators: &, |, ^, ~, <<, <<
6. Membership Operators
7. Identity Operators

Sample Projects : https://github.com/SadaLearningHub1/P...