+1 vote
in Python by
What are the different types of operators in Python?

1 Answer

0 votes
by

Python has the following basic types of operators:

1) Arithmetic( Addition(+), Substraction(-), Multiplication(*), Division(/), Modulus(%) ), Relational ( <, >, <=, >=, ==, !=, ),

2) Assignment ( =. +=, -=, /=, *=, %= ),

3) Logical ( and, or not ), Membership, Identity, and Bitwise Operators

...