Operators in Python
Arithmetic Operators in Python
Concatenation of Strings can be achieved by using + operator & repetition of strings can be achieved by using * operator .. Rest of arithmetic operators are self explanatory ...
Relational Operators in Python
Above Relational operators are self explanatory , output of relational operations are either True or False ..
Assignment Operators
Logical Operators
AND (should be written in small case ): If both the operands are True, then condition becomes True ...
OR (should be written in small case ): If any of the operands is True, then condition becomes True ...
NOT (should be written in small case ) : Used to reverse the logical state of its operand ...
Example :
Comments
Post a Comment