» An operator is a symbol that is used to perform mathematical or logical operation.
» There are common types of operators are given which are use in Python language.
An Arithmetic operator is a mathematical operator that performs a calculation on them.
+ , - , * , / , %
add=20+20 sub=20-10 mul=20*10 div=20/10
An operator that defines some kind of relation between two entities.
< , > , = , !=,==
a>b a==b a=b a!=b
Logical operator returns the boolean value true or false
||(OR) &&(AND) !(NOT)
a=5>4 and 3>2 b=5>4 or 3<2 c=not(5>4)