Python Simple Operators
Ace your homework & exams now with Quizwiz!
+
addition
%
divides left hand operand by right hand operand and returns remainder
/
division
==
equal
**
exponent
<>
if two operands are not equal, condition becomes true
!=
if values of two operands are not equal, condition is true
>=
left operand is greater than or equal to right operand, condition is true
>
left operand is greater than right, condition is true
<
left operand is less than right, then condition is true
*
multiplication
-
subtract
<=
value of left operand is less than or equal to the value of right operand, condition is true