KnowledgeBoat Logo

Computer Science

What are operators ? What is their function ? Give examples of some unary and binary operators.

Python Funda

117 Likes

Answer

Operators are tokens that trigger some computation/action when applied to variables and other objects in an expression. Unary plus (+), Unary minus (-), Bitwise complement (~), Logical negation (not) are a few examples of unary operators. Examples of binary operators are Addition (+), Subtraction (-), Multiplication (*), Division (/).

Answered By

52 Likes


Related Questions