Operator

A meaningful symbol that performs the action in an expression

What is an operator?

An operator is a meaningful symbol that performs the action in an expression. There are binary, unary and ternary operators

Most operators are binary operators (they have value)

// binary operators are most common
= , + , - , * , / , >= , <= etc
// unary operators include
++ , -- , - , !
// there is one ternary operator (if-else)
?:
# python also includes an if-else operator
if-else

Level: Novice · More General terms at this level

Updated