Skip to main content

Posts

Showing posts with the label Operators

Operators in Python

Operators Operators are the symbols which perform the operation on some values. These values are known as operands. For example if we write a + b, the operator + acts on the two operand a and b, this is called binary operator. If an operator acts on a single operand then it is called unary operator. Example:- -a                            Unary Minus operator +a                           Unary Plus Operator a + b                      Binary Operator Operators are divided into eight parts: Unary Operator Arithmetic Operator Assignment Operator Relational Operator Logical Operator Identity Operator Membership Op...